mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
string_list_new_special - Set len to 0 upon failure
This commit is contained in:
parent
91523a21c5
commit
a0531cd7cf
1 changed files with 2 additions and 1 deletions
|
@ -235,7 +235,8 @@ struct string_list *string_list_new_special(enum string_list_type type,
|
|||
|
||||
error:
|
||||
string_list_free(s);
|
||||
s = NULL;
|
||||
s = NULL;
|
||||
*len = 0;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue