Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-02-03 05:45:41 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-02-03 06:09:23 +0400
commit0cecaa9e2edfa4fb198a70a175a039d0b6b2f845 (patch)
treed8333ccd55b630eaa7e37d2042f3aedb202be829 /ffmpeg_opt.c
parenta60530e3ee1d9532c026a52b03661f88e163d647 (diff)
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;