aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg_opt.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-02-03 02:45:41 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-02-03 03:09:23 +0100
commit0cecaa9e2edfa4fb198a70a175a039d0b6b2f845 (patch)
treed8333ccd55b630eaa7e37d2042f3aedb202be829 /ffmpeg_opt.c
parenta60530e3ee1d9532c026a52b03661f88e163d647 (diff)
downloadffmpeg-0cecaa9e2edfa4fb198a70a175a039d0b6b2f845.tar.gz
ffmpeg: free attachments, fix memleak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r--ffmpeg_opt.c1
1 files changed, 1 insertions, 0 deletions
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;