[vlc-devel] [PATCH] free fmt.out.p_extra in codec/*
    Laurent Aimar 
    fenrir at via.ecp.fr
       
    Fri Jul  6 12:33:40 CEST 2007
    
    
  
Hi,
On Fri, Jul 06, 2007, Ilkka Ollakka wrote:
> Included patch that adds free fmt.out.p_extra in codec Close if there's
> malloc for that somewhere. Seems that that was only checked in
> transcode_video_new in modules/stream_out/transcode.c and not at all
> anywhere else (not in transcode_video_close).
 Cleaning up fmt_in/out is not needed at all as src/input/decoder.c already
do it (beside thoses values might still be in use in src/input...)
 Cleaning up p_context in ffmpeg is not needed too because avcodec 
free it (avcodec might still uses them until context is closed)
 Did you see a memleak using valgrind ?
Regards,
-- 
fenrir
_______________________________________________
vlc-devel mailing list
vlc-devel at videolan.org
http://mailman.videolan.org/listinfo/vlc-devel
    
    
More information about the vlc-devel
mailing list