mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
cores_names_size was used in a conditional branch without being
initialized, fixes a crash on content reload.
This commit is contained in:
parent
14660a8c12
commit
ee7fd79fb2
@ -5745,7 +5745,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
|
||||
|
||||
{
|
||||
unsigned cores_names_len;
|
||||
size_t cores_names_size;
|
||||
size_t cores_names_size = 0;
|
||||
unsigned cores_paths_len;
|
||||
size_t cores_paths_size;
|
||||
struct string_list *cores_names =
|
||||
|
Loading…
x
Reference in New Issue
Block a user