summaryrefslogtreecommitdiffhomepage
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm.c b/vm.c
index 8512f8c..16bf6c5 100644
--- a/vm.c
+++ b/vm.c
@@ -528,7 +528,9 @@ uc_vm_call_function(uc_vm_t *vm, uc_value_t *ctx, uc_value_t *fno, bool mcall, s
s = ucv_to_string(vm, arg);
uc_vm_raise_exception(vm, EXCEPTION_TYPE, "(%s) is not iterable", s);
free(s);
+ ucv_put(ctx);
ucv_put(fno);
+ ucv_put(ellip);
return false;
}