summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/string.c b/string.c
index 43c8aaac37..178c256798 100644
--- a/string.c
+++ b/string.c
@@ -177,6 +177,7 @@ str_s_new(klass, orig)
if (rb_safe_level() >= 3) {
FL_SET(str, STR_TAINT);
}
+ obj_call_init((VALUE)str);
return (VALUE)str;
}