Commit ac24a820 authored by Thierry Foucu's avatar Thierry Foucu Committed by Michael Niedermayer

libavformat/mov: Fix memory leak, need to free the chapter tracks array

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 9fe73b01
...@@ -5794,6 +5794,7 @@ static int mov_read_close(AVFormatContext *s) ...@@ -5794,6 +5794,7 @@ static int mov_read_close(AVFormatContext *s)
av_freep(&mov->fragment_index_data); av_freep(&mov->fragment_index_data);
av_freep(&mov->aes_decrypt); av_freep(&mov->aes_decrypt);
av_freep(&mov->chapter_tracks);
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment