1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

libavformat/mov: Fix memory leak, need to free the chapter tracks array

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Thierry Foucu 2017-04-05 13:23:31 -07:00 committed by Michael Niedermayer
parent 9fe73b0147
commit ac24a8202a

View File

@ -5794,6 +5794,7 @@ static int mov_read_close(AVFormatContext *s)
av_freep(&mov->fragment_index_data);
av_freep(&mov->aes_decrypt);
av_freep(&mov->chapter_tracks);
return 0;
}