Commit 312e712f authored by bellard's avatar bellard

fixed double free


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2499 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fd713f08
......@@ -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]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment