diff options
author | Thierry Foucu <tfoucu@gmail.com> | 2017-04-05 13:23:31 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-05-14 12:20:15 +0200 |
commit | 2d0c5899413cc097e1c16742e28408a1eb85e32f (patch) | |
tree | 5288ffd80d83b50690fc24e53370b6555308c02a | |
parent | 30f20c0b930190b216e416fd93141fd6578d7661 (diff) | |
download | ffmpeg-2d0c5899413cc097e1c16742e28408a1eb85e32f.tar.gz |
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>
-rw-r--r-- | libavformat/mov.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index ce7e2ec211..12811dbf78 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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; } |