mirror of
https://github.com/libretro/RetroArch
synced 2025-03-23 19:21:03 +00:00
Merge pull request #2559 from heuripedes/master
(menu_displaylist) Fix leak while loading the history
This commit is contained in:
commit
3c03bf31a4
@ -2969,6 +2969,7 @@ int menu_displaylist_push_list(menu_displaylist_info_t *info, unsigned type)
|
|||||||
strlcpy(menu->db_playlist_file, settings->content_history_path,
|
strlcpy(menu->db_playlist_file, settings->content_history_path,
|
||||||
sizeof(menu->db_playlist_file));
|
sizeof(menu->db_playlist_file));
|
||||||
|
|
||||||
|
menu_driver_ctl(RARCH_MENU_CTL_PLAYLIST_FREE, NULL);
|
||||||
menu_driver_ctl(RARCH_MENU_CTL_PLAYLIST_INIT, (void*)menu->db_playlist_file);
|
menu_driver_ctl(RARCH_MENU_CTL_PLAYLIST_INIT, (void*)menu->db_playlist_file);
|
||||||
|
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user