mirror of
https://github.com/libretro/RetroArch
synced 2025-03-23 19:21:03 +00:00
string_list_new_special - free upon failure
This commit is contained in:
parent
db5d8d248b
commit
91523a21c5
@ -234,6 +234,8 @@ struct string_list *string_list_new_special(enum string_list_type type,
|
||||
return s;
|
||||
|
||||
error:
|
||||
string_list_free(s);
|
||||
s = NULL;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user