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