From 68796fbdf5277b2c1a48263c770bc6595ed61482 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 7 Jun 2016 21:56:09 +0200 Subject: [PATCH] demux: fix memory leak when loading of ordered chapter file is aborted --- demux/demux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/demux/demux.c b/demux/demux.c index bedc2bf294..6038d244e0 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -1129,6 +1129,7 @@ static struct demuxer *open_given_type(struct mpv_global *global, ¶ms2, DEMUX_CHECK_FORCE); if (sub) return sub; + timeline_destroy(tl); } return demuxer; }