diff options
| author | Boroondas Gupte <hg@boroon.dasgupta.ch> | 2010-10-08 01:35:14 +0200 | 
|---|---|---|
| committer | Boroondas Gupte <hg@boroon.dasgupta.ch> | 2010-10-08 01:35:14 +0200 | 
| commit | 3dd2641818f9be3a6a38c8223658814644b06ce8 (patch) | |
| tree | 8234400ff043ea42162a81413734cdb328009dbc | |
| parent | b3bf2d79330c3238aae8e916f6d483fbcac4b0c2 (diff) | |
VWR-23239 FIXED memory leak in LLUIString
| -rw-r--r-- | indra/llui/lluistring.h | 2 | 
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; }  | 
