mirror of https://github.com/mpv-player/mpv
common/playlist: add missing playlist_dir clear
Fixes: https://github.com/mpv-player/mpv/pull/14555#issuecomment-2282759582
This commit is contained in:
parent
9978cb821d
commit
e3f426aa4a
|
@ -117,6 +117,7 @@ void playlist_clear(struct playlist *pl)
|
|||
pl->current_was_replaced = false;
|
||||
pl->playlist_completed = false;
|
||||
pl->playlist_started = false;
|
||||
TA_FREEP(&pl->playlist_dir);
|
||||
}
|
||||
|
||||
void playlist_clear_except_current(struct playlist *pl)
|
||||
|
|
Loading…
Reference in New Issue