Module: libav Branch: release/0.7 Commit: 76c97f19634fb43c265ce33d9bce10f908cdc26c
Author: Anton Khirnov <[email protected]> Committer: Reinhard Tartler <[email protected]> Date: Wed Mar 27 17:56:59 2013 +0100 lavf: make sure stream probe data gets freed. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected] (cherry picked from commit dbb1425811a672eddf4acf0513237cdf20f83756) Signed-off-by: Reinhard Tartler <[email protected]> --- libavformat/utils.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index b97809f..6a38064 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); _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
