Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Foucu <tfoucu@gmail.com>2017-04-05 23:23:31 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2017-04-06 05:05:04 +0300
commitac24a8202a6fdfb469af1fa68d537fb2f8d1ba6a (patch)
tree680edd3d78d6946ca5a01c288dc00b178fc0fa73 /libavformat
parent9fe73b0147d329bb03ea57c201dc99317cbf3c29 (diff)
libavformat/mov: Fix memory leak, need to free the chapter tracks array
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mov.c1
1 files changed, 1 insertions, 0 deletions
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;
}