diff options
Diffstat (limited to 'mpvcore/timeline/tl_matroska.c')
-rw-r--r-- | mpvcore/timeline/tl_matroska.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mpvcore/timeline/tl_matroska.c b/mpvcore/timeline/tl_matroska.c index 17ad192d37..cad1c3444e 100644 --- a/mpvcore/timeline/tl_matroska.c +++ b/mpvcore/timeline/tl_matroska.c @@ -365,6 +365,7 @@ void build_ordered_chapter_timeline(struct MPContext *mpctx) if (missing_time) mp_msg(MSGT_CPLAYER, MSGL_ERR, "There are %.3f seconds missing " "from the timeline!\n", missing_time / 1e9); + talloc_free(mpctx->sources); mpctx->sources = sources; mpctx->num_sources = num_sources; mpctx->timeline = timeline; |