ffmpeg: free attachments, fix memleak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user