aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-03-27 17:56:59 +0100
committerReinhard Tartler <siretart@tauware.de>2013-04-24 21:01:14 +0200
commit881526744eeac45a740157243503f046d9fa6473 (patch)
treeb386f535a215c39285bd7e60a65a2faa2052095d /libavformat
parent4c7f40c6df8306dd99f117f8b6f10be8d14690a6 (diff)
downloadffmpeg-881526744eeac45a740157243503f046d9fa6473.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>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index a92acde062..98c3af4e83 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2712,6 +2712,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);