mirror of
https://github.com/libretro/RetroArch
synced 2025-02-10 12:40:03 +00:00
menu_list_destroy - check if 'list' is non-NULL before calling file_list_free
This commit is contained in:
parent
e0a364786c
commit
3ee3e5a1a5
@ -35,7 +35,8 @@ void menu_list_destroy(file_list_t *list)
|
|||||||
}
|
}
|
||||||
|
|
||||||
end:
|
end:
|
||||||
file_list_free(list);
|
if (list)
|
||||||
|
file_list_free(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
void menu_list_free(menu_list_t *menu_list)
|
void menu_list_free(menu_list_t *menu_list)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user