Commit 37626695 authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

close pool in toplevel scope

parent ac789ae6
......@@ -2479,6 +2479,7 @@ codegen_start(mrb_state *mrb, parser_state *p)
// prepare irep
codegen(scope, p->tree, NOVAL);
if (scope->filename) mrb_free(mrb, scope->filename);
mrb_pool_close(scope->mpool);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment