diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-11-15 02:45:52 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-11-15 02:45:52 +0900 |
| commit | 71354b91cb48ff3a5c1e3c09492d18a3c30efcb9 (patch) | |
| tree | b5d7040f11c3703d51c8dee1d6e2a0f57a9e4046 /src/state.c | |
| parent | 16b34d187ae668eaf203efaeccc1d7c5a05142f5 (diff) | |
| download | mruby-71354b91cb48ff3a5c1e3c09492d18a3c30efcb9.tar.gz mruby-71354b91cb48ff3a5c1e3c09492d18a3c30efcb9.zip | |
enum mrb_vtype varies on compile time configuration, namely MRB_NAN_BOXING
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 0012bc189..9ec96068e 100644 --- a/src/state.c +++ b/src/state.c @@ -129,7 +129,7 @@ mrb_irep_free(mrb_state *mrb, mrb_irep *irep) if (!(irep->flags & MRB_ISEQ_NO_FREE)) mrb_free(mrb, irep->iseq); for (i=0; i<irep->plen; i++) { - if (irep->pool[i].type == MRB_TT_STRING) + if (irep->pool[i].type == IREP_TT_STRING) mrb_free(mrb, irep->pool[i].value.s); } mrb_free(mrb, irep->pool); |
