[SCM] libav/experimental: fixed double free

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:38:19 UTC 2013


The following commit has been merged in the experimental branch:
commit 8e38ff0c07752ad6343b2c64197f7cc990f1869b
Author: Fabrice Bellard <fabrice at bellard.org>
Date:   Mon Nov 10 18:43:12 2003 +0000

    fixed double free
    
    Originally committed as revision 2499 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/mov.c b/libavformat/mov.c
index ee722ba..b684e68 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1739,8 +1739,6 @@ static int mov_read_close(AVFormatContext *s)
     MOVContext *mov = (MOVContext *) s->priv_data;
     for(i=0; i<mov->total_streams; i++)
         mov_free_stream_context(mov->streams[i]);
-    for(i=0; i<s->nb_streams; i++)
-	av_freep(&s->streams[i]);
     /* free color tabs */
     for(i=0; i<mov->ctab_size; i++)
 	av_freep(&mov->ctab[i]);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list