1
mirror of https://github.com/mpv-player/mpv synced 2024-11-03 03:19:24 +01:00

demux: fix memory leak when loading of ordered chapter file is aborted

This commit is contained in:
wm4 2016-06-07 21:56:09 +02:00
parent 5b5db336e9
commit 68796fbdf5

View File

@ -1129,6 +1129,7 @@ static struct demuxer *open_given_type(struct mpv_global *global,
&params2, DEMUX_CHECK_FORCE);
if (sub)
return sub;
timeline_destroy(tl);
}
return demuxer;
}