[FFmpeg-cvslog] libavformat/mov: Fix memory leak, need to free the chapter tracks array
git at videolan.org
git at videolan.org
Sat Apr 8 23:31:38 EEST 2017
ffmpeg | branch: release/3.3 | Thierry Foucu <tfoucu at gmail.com> | Wed Apr 5 13:23:31 2017 -0700| [c9c977be2761dc48c7595c9483282b9a12011771] | committer: Michael Niedermayer
libavformat/mov: Fix memory leak, need to free the chapter tracks array
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit ac24a8202a6fdfb469af1fa68d537fb2f8d1ba6a)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c9c977be2761dc48c7595c9483282b9a12011771
---
libavformat/mov.c | 1 +
1 file changed, 1 insertion(+)
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;
}
More information about the ffmpeg-cvslog
mailing list