Added missing cleanObject() call
This commit is contained in:
parent
35f0a94f40
commit
fc3fcf34ed
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue