]> git.sesse.net Git - ffmpeg/commitdiff
lavf: make sure stream probe data gets freed.
authorAnton Khirnov <anton@khirnov.net>
Wed, 27 Mar 2013 16:56:59 +0000 (17:56 +0100)
committerAnton Khirnov <anton@khirnov.net>
Thu, 4 Apr 2013 05:54:00 +0000 (07:54 +0200)
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavformat/utils.c

index 284d992ab096d3b21161ddf1620f63734df7fde7..89eb759bc966aef1fea21557fd1680f1f60765ea 100644 (file)
@@ -2650,6 +2650,7 @@ void avformat_free_context(AVFormatContext *s)
         if (st->attached_pic.data)
             av_free_packet(&st->attached_pic);
         av_dict_free(&st->metadata);
+        av_freep(&st->probe_data.buf);
         av_free(st->index_entries);
         av_free(st->codec->extradata);
         av_free(st->codec->subtitle_header);