aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--iseq.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8e73336a08..e7efff7837 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Sep 20 03:20:21 2015 Koichi Sasada <ko1@atdot.net>
+
+ * iseq.c (rb_iseq_free): free rb_iseq_t::body::cc_entries.
+
Sun Sep 20 02:46:34 2015 Koichi Sasada <ko1@atdot.net>
* vm_core.h: split rb_call_info_t into several structs.
diff --git a/iseq.c b/iseq.c
index d3e918d1bf..cbf78ff377 100644
--- a/iseq.c
+++ b/iseq.c
@@ -82,6 +82,7 @@ rb_iseq_free(const rb_iseq_t *iseq)
ruby_xfree((void *)kw_arg);
}
ruby_xfree(iseq->body->ci_entries);
+ ruby_xfree(iseq->body->cc_entries);
}
ruby_xfree((void *)iseq->body->catch_table);
ruby_xfree((void *)iseq->body->param.opt_table);