mirror of
https://github.com/libretro/RetroArch
synced 2025-01-27 21:35:25 +00:00
Fix another Coverity error
This commit is contained in:
parent
73d1539bb0
commit
455b202142
@ -926,10 +926,11 @@ static void xmb_update_thumbnail_path(void *data, unsigned i)
|
||||
char *tmp_new = (char*)
|
||||
malloc(PATH_MAX_LENGTH * sizeof(char));
|
||||
|
||||
menu_entry_init(&entry);
|
||||
|
||||
if (!xmb)
|
||||
goto end;
|
||||
|
||||
menu_entry_init(&entry);
|
||||
menu_entry_get(&entry, 0, i, NULL, true);
|
||||
|
||||
entry_type = menu_entry_get_type_new(&entry);
|
||||
|
Loading…
x
Reference in New Issue
Block a user