Mercurial > libavformat.hg
changeset 308:e73e7b5f2599 libavformat
fixed double free
author | bellard |
---|---|
date | Mon, 10 Nov 2003 18:43:12 +0000 |
parents | 5552d3761ec0 |
children | 6c9fddf8458c |
files | mov.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Mon Nov 10 18:42:51 2003 +0000 +++ b/mov.c Mon Nov 10 18:43:12 2003 +0000 @@ -1739,8 +1739,6 @@ 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]);