mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Cleanup
This commit is contained in:
parent
43be7c384b
commit
19721639bf
@ -59,9 +59,7 @@ static struct string_list *string_list_clone(
|
||||
dest->size = src->size;
|
||||
dest->cap = src->cap;
|
||||
if (dest->cap < dest->size)
|
||||
{
|
||||
dest->cap = dest->size;
|
||||
}
|
||||
dest->cap = dest->size;
|
||||
|
||||
elems = (struct string_list_elem*)
|
||||
calloc(dest->cap, sizeof(struct string_list_elem));
|
||||
|
Loading…
x
Reference in New Issue
Block a user