mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
close pool in toplevel scope
This commit is contained in:
+2
-1
@@ -2478,7 +2478,8 @@ codegen_start(mrb_state *mrb, parser_state *p)
|
||||
}
|
||||
// prepare irep
|
||||
codegen(scope, p->tree, NOVAL);
|
||||
if (scope->filename) mrb_free(mrb, scope->filename);
|
||||
if (scope->filename) mrb_free(mrb, scope->filename);
|
||||
mrb_pool_close(scope->mpool);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user