[FFmpeg-devel] [PATCH] libavformat/mov: Fix memory leak, need to free the chapter tracks array
Thierry Foucu
tfoucu at gmail.com
Wed Apr 5 23:23:31 EEST 2017
---
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;
}
--
2.12.2.715.g7642488e1d-goog
More information about the ffmpeg-devel
mailing list