From ded215a1cb32417cb9cc5e24cbc89b30b246baea Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Sun, 27 Mar 2022 22:09:04 -0400 Subject: [PATCH] Add missing clone. --- src/object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/object.c b/src/object.c index 16cefc0..41ce58a 100644 --- a/src/object.c +++ b/src/object.c @@ -525,7 +525,7 @@ void _copyList(Object* dest, const Object* src) } else if (isStringy(*POINTER)) { nf_addToList(dest, cloneString(*POINTER)); } else { - nf_addToList(dest, *POINTER); + nf_addToList(dest, cloneObject(*POINTER)); } } }