mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Improve string_list_deinitialize
This commit is contained in:
parent
513909a581
commit
91cfcd1b83
@ -109,7 +109,12 @@ bool string_list_deinitialize(struct string_list *list)
|
||||
{
|
||||
if (!list)
|
||||
return false;
|
||||
return string_list_deinitialize_internal(list);
|
||||
if (!string_list_deinitialize_internal(list))
|
||||
return false;
|
||||
list->elems = NULL;
|
||||
list->size = 0;
|
||||
list->cap = 0;
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user