You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avfilter/af_agate: fix memleak of out frame
Fixes CID1351358 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
		| @@ -295,6 +295,7 @@ static int scfilter_frame(AVFilterLink *link, AVFrame *frame) | ||||
|         if (!in[i]) { | ||||
|             av_frame_free(&in[0]); | ||||
|             av_frame_free(&in[1]); | ||||
|             av_frame_free(&out); | ||||
|             return AVERROR(ENOMEM); | ||||
|         } | ||||
|         av_audio_fifo_read(s->fifo[i], (void **)in[i]->data, nb_samples); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user