summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index 98dbbfb645..4114f2d8b5 100644
--- a/string.c
+++ b/string.c
@@ -140,7 +140,7 @@ rb_fstring(VALUE str)
str = (VALUE)fstr;
/* because of lazy sweep, str may be unmaked already and swept
* at next time */
- rb_gc_mark(str);
+ rb_gc_resurrect(str);
}
else {
str = rb_str_new_frozen(str);