ffmpeg | branch: master | Andrey Myznikov <[email protected]> | Fri Aug 15 17:25:15 2014 +0300| [609d5db8035c868be034892a33762779a40ab8b9] | committer: Michael Niedermayer
Fix packet_buffer memory leak in avformat_free_context Signed-off-by: Michael Niedermayer <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=609d5db8035c868be034892a33762779a40ab8b9 --- libavformat/utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/utils.c b/libavformat/utils.c index 5d146d6..34eca17 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -3525,6 +3525,7 @@ void avformat_free_context(AVFormatContext *s) av_dict_free(&s->metadata); av_freep(&s->streams); av_freep(&s->internal); + free_packet_buffer(&s->packet_buffer, &s->packet_buffer_end); av_free(s); } _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
