mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
should not call mrb_parser_free() on NULL pointer
This commit is contained in:
@@ -4850,7 +4850,6 @@ load_exec(mrb_state *mrb, parser_state *p, mrbc_context *c)
|
||||
mrb_value v;
|
||||
|
||||
if (!p) {
|
||||
mrb_parser_free(p);
|
||||
return mrb_undef_value();
|
||||
}
|
||||
if (!p->tree || p->nerr) {
|
||||
|
||||
Reference in New Issue
Block a user