VWR-23239 FIXED memory leak in LLUIString

master
Boroondas Gupte 2010-10-08 01:35:14 +02:00
parent b3bf2d7933
commit 3dd2641818
1 changed files with 2 additions and 0 deletions

View File

@ -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; }