diff options
author | wm4 <wm4@nowhere> | 2016-06-07 21:56:09 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-06-07 21:56:09 +0200 |
commit | 68796fbdf5277b2c1a48263c770bc6595ed61482 (patch) | |
tree | ee75a46866d64b3af543391ed129c31c087c0453 /demux/demux.c | |
parent | 5b5db336e93622dc4c54e02a42a39d1b3b1a9fbd (diff) | |
download | mpv-68796fbdf5277b2c1a48263c770bc6595ed61482.tar.bz2 mpv-68796fbdf5277b2c1a48263c770bc6595ed61482.tar.xz |
demux: fix memory leak when loading of ordered chapter file is aborted
Diffstat (limited to 'demux/demux.c')
-rw-r--r-- | demux/demux.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |