diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-11-15 19:06:23 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-11-21 20:57:58 +0100 |
commit | ce9bba5340a5fb6f38974a19af019dd6aa2da035 (patch) | |
tree | 8f8af9afa7195826fd64e788329cec9de244dd71 | |
parent | de4ec972c06d9047bc1b73bb13f858a5d77d8df0 (diff) | |
download | ffmpeg-ce9bba5340a5fb6f38974a19af019dd6aa2da035.tar.gz |
avidec: fix a memleak in the dv init code.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
-rw-r--r-- | libavformat/avidec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index edc9c93c81..c71d545d46 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -484,6 +484,7 @@ static int avi_read_header(AVFormatContext *s) ast = s->streams[0]->priv_data; av_freep(&s->streams[0]->codec->extradata); av_freep(&s->streams[0]->codec); + av_freep(&s->streams[0]->info); av_freep(&s->streams[0]); s->nb_streams = 0; if (CONFIG_DV_DEMUXER) { |