summaryrefslogtreecommitdiffhomepage
path: root/src/state.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-04-28 07:29:37 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-04-28 07:29:37 +0900
commit3244ddf0c396cc1878579d12eb69e2fdc3c4ffa2 (patch)
tree2f521833ea5c9570983cc2877ea07e3b7e854ee3 /src/state.c
parentc235d8f08d4cda1b7e49e0c984c76cfdbf409dd0 (diff)
downloadmruby-3244ddf0c396cc1878579d12eb69e2fdc3c4ffa2.tar.gz
mruby-3244ddf0c396cc1878579d12eb69e2fdc3c4ffa2.zip
presreve local variables names in irep->lv
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state.c b/src/state.c
index 618b77cdd..9dd798f92 100644
--- a/src/state.c
+++ b/src/state.c
@@ -149,6 +149,7 @@ mrb_irep_free(mrb_state *mrb, mrb_irep *irep)
mrb_irep_decref(mrb, irep->reps[i]);
}
mrb_free(mrb, irep->reps);
+ mrb_free(mrb, irep->lv);
mrb_free(mrb, (void *)irep->filename);
mrb_free(mrb, irep->lines);
mrb_debug_info_free(mrb, irep->debug_info);