mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
memleak patch by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 2678 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:

committed by
Michael Niedermayer

parent
303aebf97a
commit
ec7d0d2e9e
@ -893,6 +893,8 @@ static int mov_write_trailer(AVFormatContext *s)
|
||||
av_free(mov->tracks[i].cluster[j]);
|
||||
}
|
||||
av_free(mov->tracks[i].cluster);
|
||||
if( mov->tracks[i].vosLen ) av_free( mov->tracks[i].vosData );
|
||||
|
||||
mov->tracks[i].cluster = NULL;
|
||||
mov->tracks[i].ents_allocated = mov->tracks[i].entry = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user