diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-10-06 08:50:56 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2011-10-06 08:50:56 +0200 |
commit | 1b3b4a575bc770bef13a560db6a9d4fdbab7241c (patch) | |
tree | 0a68c50309242be670dd05d6eeb80c7e76d46ad4 /libavformat/libmodplug.c | |
parent | 8830c4e8a97167b02f3a9c537a96425ad0b65d56 (diff) | |
download | ffmpeg-1b3b4a575bc770bef13a560db6a9d4fdbab7241c.tar.gz |
libmodplug: free file content buffer in read_close() callback.
Diffstat (limited to 'libavformat/libmodplug.c')
-rw-r--r-- | libavformat/libmodplug.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/libmodplug.c b/libavformat/libmodplug.c index d0e19796ca..edae4b34c9 100644 --- a/libavformat/libmodplug.c +++ b/libavformat/libmodplug.c @@ -204,6 +204,7 @@ static int modplug_read_close(AVFormatContext *s) { ModPlugContext *modplug = s->priv_data; ModPlug_Unload(modplug->f); + av_freep(&modplug->buf); return 0; } |