From 0cecaa9e2edfa4fb198a70a175a039d0b6b2f845 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 3 Feb 2013 02:45:41 +0100 Subject: [PATCH] ffmpeg: free attachments, fix memleak Signed-off-by: Michael Niedermayer --- ffmpeg_opt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index a418e86167..4f320b9b29 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;