From 8e38ff0c07752ad6343b2c64197f7cc990f1869b Mon Sep 17 00:00:00 2001 From: Fabrice Bellard Date: Mon, 10 Nov 2003 18:43:12 +0000 Subject: fixed double free Originally committed as revision 2499 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mov.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libavformat/mov.c') diff --git a/libavformat/mov.c b/libavformat/mov.c index ee722bae00..b684e68c52 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; itotal_streams; i++) mov_free_stream_context(mov->streams[i]); - for(i=0; inb_streams; i++) - av_freep(&s->streams[i]); /* free color tabs */ for(i=0; ictab_size; i++) av_freep(&mov->ctab[i]); -- cgit v1.2.3