diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-09-26 08:15:09 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-09-26 08:15:09 +0900 |
| commit | 190fc7609152f336b21d4d3f6baeb91a4bbcfa94 (patch) | |
| tree | 5b97713e2da2d7d5c1b607bea6e2177405195cd1 /src | |
| parent | 84008f99d5e7fa6475f8d2ddecaa4317306acdf9 (diff) | |
| download | mruby-190fc7609152f336b21d4d3f6baeb91a4bbcfa94.tar.gz mruby-190fc7609152f336b21d4d3f6baeb91a4bbcfa94.zip | |
should not call mrb_parser_free() on NULL pointer
Diffstat (limited to 'src')
| -rw-r--r-- | src/parse.y | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/parse.y b/src/parse.y index a7f645456..2df234416 100644 --- a/src/parse.y +++ b/src/parse.y @@ -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) { |
