diff options
-rw-r--r-- | types.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2189,6 +2189,9 @@ ucv_gc_common(uc_vm_t *vm, bool final) for (i = 0; i < vm->stack.count; i++) ucv_gc_mark(vm->stack.entries[i]); + + for (i = 0; i < vm->restypes.count; i++) + ucv_gc_mark(vm->restypes.entries[i]->proto); } /* unref unreachable objects */ |