mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-09 13:16:05 +00:00
Cleanups
This commit is contained in:
parent
8af2559b2a
commit
e1a0139164
@ -4176,22 +4176,12 @@ bool menu_displaylist_push(menu_displaylist_ctx_entry_t *entry)
|
||||
ret = true;
|
||||
|
||||
end:
|
||||
if (info.exts && !string_is_empty(info.exts))
|
||||
free(info.exts);
|
||||
if (info.path && !string_is_empty(info.path))
|
||||
free(info.path);
|
||||
if (info.label && !string_is_empty(info.label))
|
||||
free(info.label);
|
||||
menu_displaylist_info_free(&info);
|
||||
|
||||
return ret;
|
||||
|
||||
error:
|
||||
if (info.exts && !string_is_empty(info.exts))
|
||||
free(info.exts);
|
||||
if (info.path && !string_is_empty(info.path))
|
||||
free(info.path);
|
||||
if (info.label && !string_is_empty(info.label))
|
||||
free(info.label);
|
||||
menu_displaylist_info_free(&info);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user