mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +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:
|
error:
|
||||||
string_list_free(s);
|
string_list_free(s);
|
||||||
s = NULL;
|
s = NULL;
|
||||||
|
*len = 0;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user