From ac24a8202a6fdfb469af1fa68d537fb2f8d1ba6a Mon Sep 17 00:00:00 2001 From: Thierry Foucu Date: Wed, 5 Apr 2017 13:23:31 -0700 Subject: [PATCH] libavformat/mov: Fix memory leak, need to free the chapter tracks array Signed-off-by: Michael Niedermayer --- libavformat/mov.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index 90bc2499da..f2296f8917 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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; }