Skip to content

Commit

Permalink
Free unused_block_warning_table when RUBY_FREE_AT_EXIT
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzhu2118 committed Apr 30, 2024
1 parent 368ce07 commit 1ca4c52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vm.c
Expand Up @@ -3077,6 +3077,7 @@ ruby_vm_destruct(rb_vm_t *vm)
rb_vm_postponed_job_free();

rb_id_table_free(vm->constant_cache);
st_free_table(vm->unused_block_warning_table);

if (th) {
xfree(th->nt);
Expand Down

0 comments on commit 1ca4c52

Please sign in to comment.