summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorBoroondas Gupte <hg@boroon.dasgupta.ch>2010-10-08 01:35:14 +0200
committerBoroondas Gupte <hg@boroon.dasgupta.ch>2010-10-08 01:35:14 +0200
commit3dd2641818f9be3a6a38c8223658814644b06ce8 (patch)
tree8234400ff043ea42162a81413734cdb328009dbc /indra/llui
parentb3bf2d79330c3238aae8e916f6d483fbcac4b0c2 (diff)
VWR-23239 FIXED memory leak in LLUIString
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/lluistring.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/lluistring.h b/indra/llui/lluistring.h
index 3f91856e26..1ecd9bab36 100644
--- a/indra/llui/lluistring.h
+++ b/indra/llui/lluistring.h
@@ -68,6 +68,8 @@ public:
LLUIString(const std::string& instring, const LLStringUtil::format_map_t& args);
LLUIString(const std::string& instring) : mArgs(NULL) { assign(instring); }
+ ~LLUIString() { delete mArgs; }
+
void assign(const std::string& instring);
LLUIString& operator=(const std::string& s) { assign(s); return *this; }