diff options
author | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-11-13 19:04:38 +0000 |
---|---|---|
committer | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-11-13 19:04:38 +0000 |
commit | 4533d2d67f28860304cdaa8aa0b3db85f368810e (patch) | |
tree | 65f5ca629ef682c698ed92368cbdabe3af20490a | |
parent | 18f770162b9d079f2d278a719d7684dd19d86202 (diff) | |
download | ffmpeg-4533d2d67f28860304cdaa8aa0b3db85f368810e.tar.gz |
* fix double free
Originally committed as revision 1206 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libav/mov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libav/mov.c b/libav/mov.c index c8c2c3e05e..91c7155b08 100644 --- a/libav/mov.c +++ b/libav/mov.c @@ -1326,7 +1326,7 @@ static int mov_read_close(AVFormatContext *s) for(i=0; i<mov->total_streams; i++) mov_free_stream_context(mov->streams[i]); for(i=0; i<s->nb_streams; i++) - av_free(s->streams[i]); + av_freep(&s->streams[i]); return 0; } |