diff options
author | wm4 <wm4@nowhere> | 2013-07-02 12:17:06 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-02 12:19:16 +0200 |
commit | e00621ac4605e96c9452f4d65216d0019f7e55cb (patch) | |
tree | a8872b34fd04316ed08d78fca6abc653716965ee /stream | |
parent | c4766dc3c6233d3353b79fbd226202e7b8e3fc46 (diff) | |
download | mpv-e00621ac4605e96c9452f4d65216d0019f7e55cb.tar.bz2 mpv-e00621ac4605e96c9452f4d65216d0019f7e55cb.tar.xz |
cache: fix per-block metadata memory leak
Diffstat (limited to 'stream')
-rw-r--r-- | stream/cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/cache.c b/stream/cache.c index 9a9c6b9a00..f30130ae35 100644 --- a/stream/cache.c +++ b/stream/cache.c @@ -524,6 +524,7 @@ static void cache_uninit(stream_t *cache) pthread_mutex_destroy(&s->mutex); pthread_cond_destroy(&s->wakeup); free(s->buffer); + free(s->bm); talloc_free(s); } |