fix mem leak
patch by Oliver Pfister: [oliver pfister gmx ch] Originally committed as revision 9490 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		
							parent
							
								
									f225016296
								
							
						
					
					
						commit
						7b62bb2b8d
					
				@ -1218,7 +1218,7 @@ static int decode_end(AVCodecContext *avctx)
 | 
				
			|||||||
    common_end(s);
 | 
					    common_end(s);
 | 
				
			||||||
    av_freep(&s->bitstream_buffer);
 | 
					    av_freep(&s->bitstream_buffer);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    for(i=0; i<3; i++){
 | 
					    for(i=0; i<6; i++){
 | 
				
			||||||
        free_vlc(&s->vlc[i]);
 | 
					        free_vlc(&s->vlc[i]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user