aboutsummaryrefslogtreecommitdiffstats
path: root/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index f858fbb681..ed6f9686cf 100644
--- a/compile.c
+++ b/compile.c
@@ -7650,7 +7650,7 @@ ibf_load_object_string(const struct ibf_load *load, const struct ibf_object_head
rb_enc_associate_index(str, encindex);
if (header->internal) rb_obj_hide(str);
- if (header->frozen) rb_obj_freeze(str);
+ if (header->frozen) str = rb_fstring(str);
return str;
}