diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-09-29 17:33:05 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-29 17:33:05 +0200 |
commit | 44a7a6300d104dd453bcd5c601e9c6944fb34679 (patch) | |
tree | 460f1ee1ab2b9340e69ceebfe5c21438d7d459d9 /libavformat/utils.c | |
parent | acfe69669ccffe6f6acd1720f4fe73a98b8ebaef (diff) | |
download | ffmpeg-44a7a6300d104dd453bcd5c601e9c6944fb34679.tar.gz |
lavf: free probe data in case we close before probing finished
Fixes Ticket1634
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 05c4b7f5cc..7940037782 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -3056,6 +3056,7 @@ void ff_free_stream(AVFormatContext *s, AVStream *st){ av_freep(&st->codec); av_freep(&st->priv_data); av_freep(&st->info); + av_freep(&st->probe_data.buf); av_freep(&s->streams[ --s->nb_streams ]); } |