summaryrefslogtreecommitdiffhomepage
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index 79838f9..b68e6cf 100644
--- a/vm.c
+++ b/vm.c
@@ -183,7 +183,7 @@ void uc_vm_free(uc_vm_t *vm)
printbuf_free(vm->strbuf);
- ucv_gc(vm, true);
+ ucv_freeall(vm);
for (i = 0; i < vm->restypes.count; i++)
free(vm->restypes.entries[i]);