mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
(playlist) Dont write the playlist file on free()
This commit is contained in:
parent
f7bc0df9bc
commit
c1c4f4128b
@ -270,8 +270,7 @@ void content_playlist_free(content_playlist_t *playlist)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (playlist->conf_path)
|
if (playlist->conf_path)
|
||||||
content_playlist_write_file(playlist);
|
free(playlist->conf_path);
|
||||||
free(playlist->conf_path);
|
|
||||||
|
|
||||||
for (i = 0; i < playlist->cap; i++)
|
for (i = 0; i < playlist->cap; i++)
|
||||||
content_playlist_free_entry(&playlist->entries[i]);
|
content_playlist_free_entry(&playlist->entries[i]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user