mirror of
https://github.com/libretro/RetroArch
synced 2025-02-12 00:40:26 +00:00
(Menu) deferred_push_core_information - guard against one possible crash occurring
This commit is contained in:
parent
f094a76c22
commit
61df1917db
@ -138,7 +138,7 @@ static int deferred_push_core_information(void *data, void *userdata,
|
|||||||
info = (core_info_t*)g_extern.core_info_current;
|
info = (core_info_t*)g_extern.core_info_current;
|
||||||
menu_list_clear(list);
|
menu_list_clear(list);
|
||||||
|
|
||||||
if (info->data)
|
if (info && info->data)
|
||||||
{
|
{
|
||||||
char tmp[PATH_MAX_LENGTH];
|
char tmp[PATH_MAX_LENGTH];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user