git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
422418b
)
ffmpeg: fix memleak
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Jun 2012 10:31:13 +0000
(12:31 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Jun 2012 10:31:13 +0000
(12:31 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
849bd70
..
f654a2b
100644
(file)
--- 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);
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++) {
av_freep(&output_streams[i]);
}
for (i = 0; i < nb_input_files; i++) {