mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-09 14:14:39 +02:00
libavformat/mov: Fix memory leak, need to free the chapter tracks array
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit ac24a8202a6fdfb469af1fa68d537fb2f8d1ba6a) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
3c9e1b89a1
commit
c9c977be27
@ -5788,6 +5788,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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user