diff options
author | Michael Niedermayer | 2013-02-03 02:45:41 +0100 |
---|---|---|
committer | Michael Niedermayer | 2013-02-03 03:09:23 +0100 |
commit | 0cecaa9e2edfa4fb198a70a175a039d0b6b2f845 (patch) | |
tree | d8333ccd55b630eaa7e37d2042f3aedb202be829 /ffmpeg_opt.c | |
parent | a60530e3ee1d9532c026a52b03661f88e163d647 (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.c | 1 |
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; |