mirror of
https://github.com/mpv-player/mpv
synced 2025-03-19 18:05:21 +00:00
core: Set mpctx->chapters to NULL at uninit
The uninit code called talloc_free(mpctx->chapters) but didn't clear the pointer. As a result playing a file with ordered chapters and one without almost certainly triggered an abort when closing the second file. Fix by setting the pointer to NULL after freeing.
This commit is contained in:
parent
ce35ed0209
commit
b863100784
Loading…
Reference in New Issue
Block a user