[FFmpeg-cvslog] ffmpeg: fix memleak
Michael Niedermayer
git at videolan.org
Fri Jun 1 12:35:46 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jun 1 12:31:13 2012 +0200| [23b365f1c41a1ac213f2a446aa1557b5939ed749] | committer: Michael Niedermayer
ffmpeg: fix memleak
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=23b365f1c41a1ac213f2a446aa1557b5939ed749
---
ffmpeg.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ffmpeg.c b/ffmpeg.c
index 849bd70..f654a2b 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1499,6 +1499,7 @@ void av_noreturn exit_program(int ret)
output_streams[i]->bitstream_filters = NULL;
av_freep(&output_streams[i]->filtered_frame);
+ av_freep(&output_streams[i]->avfilter);
av_freep(&output_streams[i]);
}
for (i = 0; i < nb_input_files; i++) {
More information about the ffmpeg-cvslog
mailing list