Browse Source

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

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.4
Thierry Foucu Michael Niedermayer 8 years ago
parent
commit
ac24a8202a
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/mov.c

+ 1
- 0
libavformat/mov.c View File

@@ -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;
}


Loading…
Cancel
Save