mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
string_list_initialize - call deinitialize when function fails
This commit is contained in:
parent
ad61d8ff92
commit
a32d027f76
@ -147,7 +147,7 @@ bool string_list_initialize(struct string_list *list)
|
||||
return false;
|
||||
if (!string_list_initialize_internal(list))
|
||||
{
|
||||
string_list_free(list);
|
||||
string_list_deinitialize(list);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user