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

bcoudurier subversion
Wed Jun 18 10:30:50 CEST 2008


Author: bcoudurier
Date: Wed Jun 18 10:30:50 2008
New Revision: 13800

Log:
free private streamcontext when closing demuxer, fix memory leak, patch by Art Clarke, aclarke at vlideshow dot com

Modified:
   trunk/libavformat/mov.c

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);
     }
     if(mov->dv_demux){
         for(i=0; i<mov->dv_fctx->nb_streams; i++){




More information about the ffmpeg-cvslog mailing list