summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gc.c b/gc.c
index 5a2146b..65c858b 100644
--- a/gc.c
+++ b/gc.c
@@ -1331,6 +1331,8 @@ garbage_collect()
init_mark_stack();
+ gc_mark((VALUE)ruby_current_node, 0);
+
/* mark frame stack */
for (frame = ruby_frame; frame; frame = frame->prev) {
rb_gc_mark_frame(frame);