summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index acd624d6b2..983b11d5b5 100644
--- a/vm.c
+++ b/vm.c
@@ -2066,7 +2066,7 @@ Init_top_self(void)
rb_define_singleton_method(rb_vm_top_self(), "to_s", main_to_s, 0);
/* initialize mark object array */
- vm->mark_object_ary = rb_ary_new();
+ vm->mark_object_ary = rb_ary_tmp_new(1);
}
VALUE *