diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-12-25 13:30:03 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-12-25 13:30:03 +0900 |
| commit | c70e2f70998c9c078265c6800b630a20388e0251 (patch) | |
| tree | c1a63fdfc92ae4e62bbdf6656659ce1639aaacda /src/state.c | |
| parent | ab47d907b696a0e1d96d44f07fceaade494de139 (diff) | |
| download | mruby-c70e2f70998c9c078265c6800b630a20388e0251.tar.gz mruby-c70e2f70998c9c078265c6800b630a20388e0251.zip | |
wrong operator precedence fixed
Diffstat (limited to 'src/state.c')
| -rw-r--r-- | src/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c index 813b89aa7..f25d8c8bf 100644 --- a/src/state.c +++ b/src/state.c @@ -136,7 +136,7 @@ mrb_irep_free(mrb_state *mrb, mrb_irep *irep) mrb_free(mrb, irep->iseq); for (i=0; i<irep->plen; i++) { if (mrb_type(irep->pool[i]) == MRB_TT_STRING) { - if (mrb_str_ptr(irep->pool[i])->flags & MRB_STR_NOFREE == 0) { + if ((mrb_str_ptr(irep->pool[i])->flags & MRB_STR_NOFREE) == 0) { mrb_free(mrb, mrb_str_ptr(irep->pool[i])->ptr); } mrb_free(mrb, mrb_obj_ptr(irep->pool[i])); |
