av_free() -> av_freep(), patch by Reimar Doffinger, see discussion in
"rmdec.c: double free" thread on mailinglist. Originally committed as revision 16379 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		
				
					committed by
					
						
						Ronald S. Bultje
					
				
			
			
				
	
			
			
			
						parent
						
							c49a3ec30a
						
					
				
				
					commit
					7d204e67e8
				
			@@ -81,8 +81,8 @@ RMStream *ff_rm_alloc_rmstream (void)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
void ff_rm_free_rmstream (RMStream *rms)
 | 
					void ff_rm_free_rmstream (RMStream *rms)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    av_free(rms->videobuf);
 | 
					    av_freep(&rms->videobuf);
 | 
				
			||||||
    av_free(rms->audiobuf);
 | 
					    av_freep(&rms->audiobuf);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int rm_read_audio_stream_info(AVFormatContext *s, ByteIOContext *pb,
 | 
					static int rm_read_audio_stream_info(AVFormatContext *s, ByteIOContext *pb,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user