[FFmpeg-cvslog] ffmpeg: free attachments, fix memleak
Michael Niedermayer
git at videolan.org
Sun Feb 3 03:11:32 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Feb 3 02:45:41 2013 +0100| [0cecaa9e2edfa4fb198a70a175a039d0b6b2f845] | committer: Michael Niedermayer
ffmpeg: free attachments, fix memleak
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0cecaa9e2edfa4fb198a70a175a039d0b6b2f845
---
ffmpeg_opt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index a418e86..4f320b9 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -126,6 +126,7 @@ static void uninit_options(OptionsContext *o, int is_input)
av_freep(&o->stream_maps);
av_freep(&o->audio_channel_maps);
av_freep(&o->streamid_map);
+ av_freep(&o->attachments);
if (is_input)
recording_time = o->recording_time;
More information about the ffmpeg-cvslog
mailing list