diff options
author | Thierry Foucu <tfoucu@gmail.com> | 2017-04-05 13:23:31 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-04-08 22:31:05 +0200 |
commit | c9c977be2761dc48c7595c9483282b9a12011771 (patch) | |
tree | d93d72eb148a2530354da292e3693cfb4f82a4fb | |
parent | 3c9e1b89a1084cfd9d5eb4e810047aaf36d9b381 (diff) | |
download | ffmpeg-c9c977be2761dc48c7595c9483282b9a12011771.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 4550cf0ad4..1d30a73a44 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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; } |