diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-07 21:18:53 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-07 21:18:53 +0400 |
commit | 8993c256950067f29bc750140514ef6a1f5fd05d (patch) | |
tree | 16845a2a9e527429f2c362b28552b9955235043d /libavformat/avidec.c | |
parent | 2f6f2f4f73c068979829e785d08cb1dd345c7fc8 (diff) |
avidec: fix AVStream.info memleak with dv.
Fixes Ticket1334
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avidec.c')
-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 cc716a2520..0144b65f6f 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -483,6 +483,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) { |