1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

refine the memory watcher.

This commit is contained in:
winlin 2015-06-08 09:47:45 +08:00
parent ca535fdb93
commit 573495a19f
4 changed files with 13 additions and 2 deletions

View file

@ -961,6 +961,12 @@ void SrsSource::dispose()
hls->dispose();
#endif
// cleaup the cached packets.
srs_freep(cache_metadata);
srs_freep(cache_sh_video);
srs_freep(cache_sh_audio);
// cleanup the gop cache.
gop_cache->dispose();
}