mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-28 09:41:01 +00:00
ffmpeg: free attachments, fix memleak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a60530e3ee
commit
0cecaa9e2e
@ -126,6 +126,7 @@ static void uninit_options(OptionsContext *o, int is_input)
|
|||||||
av_freep(&o->stream_maps);
|
av_freep(&o->stream_maps);
|
||||||
av_freep(&o->audio_channel_maps);
|
av_freep(&o->audio_channel_maps);
|
||||||
av_freep(&o->streamid_map);
|
av_freep(&o->streamid_map);
|
||||||
|
av_freep(&o->attachments);
|
||||||
|
|
||||||
if (is_input)
|
if (is_input)
|
||||||
recording_time = o->recording_time;
|
recording_time = o->recording_time;
|
||||||
|
Loading…
Reference in New Issue
Block a user