[FFmpeg-cvslog] r13800 - trunk/libavformat/mov.c

Benoit Fouet benoit.fouet
Wed Jun 18 10:43:59 CEST 2008


bcoudurier wrote:
> Modified: trunk/libavformat/mov.c
> ==============================================================================
> --- trunk/libavformat/mov.c	(original)
> +++ trunk/libavformat/mov.c	Wed Jun 18 10:30:50 2008
> @@ -1899,6 +1899,7 @@ static int mov_read_close(AVFormatContex
>          av_freep(&sc->drefs);
>          if (sc->pb && sc->pb != s->pb)
>              url_fclose(sc->pb);
> +        av_freep(&sc);
>   

av_free() should be enough if done on sc

-- 
Benoit Fouet
Purple Labs S.A.
www.purplelabs.com




More information about the ffmpeg-cvslog mailing list