diff options
author | Hoa V. Dinh <dinh.viet.hoa@gmail.com> | 2014-10-23 10:48:02 -0700 |
---|---|---|
committer | Hoa V. Dinh <dinh.viet.hoa@gmail.com> | 2014-10-23 10:48:02 -0700 |
commit | 8be6102aeb58ae756a2646086c3ce7a23f298a2e (patch) | |
tree | 2a52b12e4d04a44cbb2d2957ea9755843de16e48 /src | |
parent | fbf32fa6e0c634bc25b2b84ff1cc262a0ab819b1 (diff) |
Fixed memory leak
Diffstat (limited to 'src')
-rw-r--r-- | src/core/basetypes/MCString.cc | 1 |
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; } |