mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 10:40:39 +00:00
(Menu) Don't run 'file_list_free' if handle is NULL
This commit is contained in:
parent
0b5105433f
commit
42690f334f
@ -153,7 +153,8 @@ void menu_list_destroy(file_list_t *list)
|
||||
}
|
||||
|
||||
end:
|
||||
file_list_free(list);
|
||||
if (list)
|
||||
file_list_free(list);
|
||||
}
|
||||
|
||||
void menu_list_free(menu_list_t *menu_list)
|
||||
|
Loading…
Reference in New Issue
Block a user