summaryrefslogtreecommitdiff
path: root/marshal.c
diff options
context:
space:
mode:
Diffstat (limited to 'marshal.c')
-rw-r--r--marshal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/marshal.c b/marshal.c
index e8f43d90ee..1b9e62292c 100644
--- a/marshal.c
+++ b/marshal.c
@@ -1519,7 +1519,7 @@ r_object0(struct load_arg *arg, int *ivp, VALUE extmod)
}
rb_str_set_len(str, dst - ptr);
}
- v = r_entry(rb_reg_init_str(v, str, options), arg);
+ v = rb_reg_init_str(v, str, options);
v = r_leave(v, arg);
}
break;