1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

* fix double free

Originally committed as revision 1206 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Zdenek Kabelac
2002-11-13 19:04:38 +00:00
parent 18f770162b
commit 4533d2d67f

View File

@@ -1326,7 +1326,7 @@ static int mov_read_close(AVFormatContext *s)
for(i=0; i<mov->total_streams; i++) for(i=0; i<mov->total_streams; i++)
mov_free_stream_context(mov->streams[i]); mov_free_stream_context(mov->streams[i]);
for(i=0; i<s->nb_streams; i++) for(i=0; i<s->nb_streams; i++)
av_free(s->streams[i]); av_freep(&s->streams[i]);
return 0; return 0;
} }