From fc3fcf34ed6d54fc00bcef02f60d5361b5547413 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Sun, 8 Nov 2020 15:26:28 -0500 Subject: [PATCH] Added missing cleanObject() call --- src/pebblisp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pebblisp.c b/src/pebblisp.c index 8c976c5..a18f1ff 100644 --- a/src/pebblisp.c +++ b/src/pebblisp.c @@ -163,6 +163,7 @@ Object listEvalFunc( func_result, errorObject(ONLY_ONE_ARGUMENT), env); // Return a partial function if more parameters are required // Otherwise, return the function result + cleanObject(&rest[0]); return isError(func_result, ONLY_ONE_ARGUMENT) ? cloneObject(*list) : func_result;