You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avformat/rtpdec_xiph: use av_freep() to avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		| @@ -67,8 +67,8 @@ static inline void free_fragment_if_needed(PayloadContext * data) | ||||
| static void xiph_free_context(PayloadContext * data) | ||||
| { | ||||
|     free_fragment_if_needed(data); | ||||
|     av_free(data->split_buf); | ||||
|     av_free(data); | ||||
|     av_freep(&data->split_buf); | ||||
|     av_freep(&data); | ||||
| } | ||||
|  | ||||
| static av_cold int xiph_vorbis_init(AVFormatContext *ctx, int st_index, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user