aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/basetypes/MCString.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/basetypes/MCString.cc b/src/core/basetypes/MCString.cc
index bcc1ec9d..d88a41f9 100644
--- a/src/core/basetypes/MCString.cc
+++ b/src/core/basetypes/MCString.cc
@@ -1832,6 +1832,7 @@ String * String::stripWhitespace()
/* do nothing */
}
+ str->autorelease();
return str;
}