10000 [PRISM] Fix memory leak of ST table by peterzhu2118 · Pull Request #9578 · ruby/ruby · GitHub
[go: up one dir, main page]

Skip to content

[PRISM] Fix memory leak of ST table #9578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

8000

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions prism_compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -6862,6 +6862,8 @@ rb_translate_prism(pm_parser_t *parser, rb_iseq_t *iseq, pm_scope_node_t *scope_
pm_compile_node(iseq, (pm_node_t *)scope_node, ret, scope_node->base.location.start, false, (pm_scope_node_t *)scope_node);
iseq_set_sequence(iseq, ret);

st_free_table(index_lookup_table);

return Qnil;
}

Expand Down
0