diff --git a/libavformat/mov.c b/libavformat/mov.c index ce7e2ec211..12811dbf78 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -5309,6 +5309,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; }