summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-03-27 17:56:59 +0100
committerReinhard Tartler <siretart@tauware.de>2013-05-09 20:05:52 +0200
commit76c97f19634fb43c265ce33d9bce10f908cdc26c (patch)
treea8b8e4b01253f817b83fc53538de455c3cb58c82
parent96cf80609af6372d4e0d150b8a5ca517c072e897 (diff)
downloadffmpeg-76c97f19634fb43c265ce33d9bce10f908cdc26c.tar.gz
lavf: make sure stream probe data gets freed.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org (cherry picked from commit dbb1425811a672eddf4acf0513237cdf20f83756) Signed-off-by: Reinhard Tartler <siretart@tauware.de>
-rw-r--r--libavformat/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index b97809f8e6..6a38064a5e 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2616,6 +2616,7 @@ void avformat_free_context(AVFormatContext *s)
av_free_packet(&st->cur_pkt);
}
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);