Add missing clone.

This commit is contained in:
Sage Vaillancourt 2022-03-27 22:09:04 -04:00
parent 71623db37c
commit ded215a1cb
1 changed files with 1 additions and 1 deletions

View File

@ -525,7 +525,7 @@ void _copyList(Object* dest, const Object* src)
} else if (isStringy(*POINTER)) { } else if (isStringy(*POINTER)) {
nf_addToList(dest, cloneString(*POINTER)); nf_addToList(dest, cloneString(*POINTER));
} else { } else {
nf_addToList(dest, *POINTER); nf_addToList(dest, cloneObject(*POINTER));
} }
} }
} }