summaryrefslogtreecommitdiff
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 ee3ac8deae..ad5b6b3432 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Nov 27 11:45:33 2014 Eric Wong <e@80x24.org>
+
+ * iseq.c (iseq_data_to_ary): add missing GC guard
+
Thu Nov 27 10:51:59 2014 Koichi Sasada <ko1@atdot.net>
* vm_core.h: add rb_thread_t::local_storage_recursive_hash
diff --git a/iseq.c b/iseq.c
index dfe9874120..c81193c521 100644
--- a/iseq.c
+++ b/iseq.c
@@ -1889,6 +1889,7 @@ iseq_data_to_ary(rb_iseq_t *iseq)
rb_ary_push(body, ary);
pos += RARRAY_LENINT(ary); /* reject too huge data */
}
+ RB_GC_GUARD(nbody);
st_free_table(labels_table);