mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-03 02:58:02 +00: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 ac24a8202a
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
30f20c0b93
commit
2d0c589941
@ -5309,6 +5309,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…
Reference in New Issue
Block a user