mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Free scope node in prism
This commit is contained in:
parent
4113dcc4ae
commit
4f0fe97995
Notes:
git
2024-09-24 14:24:03 +00:00
1 changed files with 1 additions and 0 deletions
|
@ -1772,6 +1772,7 @@ pm_eval_make_iseq(VALUE src, VALUE fname, int line,
|
|||
while (prev) {
|
||||
pm_scope_node_t *next = prev->previous;
|
||||
pm_constant_id_list_free(&prev->locals);
|
||||
pm_scope_node_destroy(prev);
|
||||
ruby_xfree(prev);
|
||||
prev = next;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue