mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-26 22:56:34 +00:00
string_list_new_special - Set len to 0 upon failure
This commit is contained in:
parent
91523a21c5
commit
a0531cd7cf
@ -236,6 +236,7 @@ struct string_list *string_list_new_special(enum string_list_type type,
|
||||
error:
|
||||
string_list_free(s);
|
||||
s = NULL;
|
||||
*len = 0;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user