diff options
author | Stinson Linden <stinson@lindenlab.com> | 2014-04-30 01:45:09 +0100 |
---|---|---|
committer | Stinson Linden <stinson@lindenlab.com> | 2014-04-30 01:45:09 +0100 |
commit | 72c11c0e578b466eccc64e15fcaeb8d977c15e70 (patch) | |
tree | d1e1475eb54ab6bb2b875f5aae9c106f39a171b7 /indra | |
parent | f43e46bc9c0007d30cef6f0a2b2b07b9bbadd996 (diff) |
MAINT-4009: Patching another memory leak in LLBadgeOwner that indirectly was also causing leaks in llimage.
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/llui/llbadgeowner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llbadgeowner.cpp b/indra/llui/llbadgeowner.cpp index 1860a05edd..9b2a9569f7 100755 --- a/indra/llui/llbadgeowner.cpp +++ b/indra/llui/llbadgeowner.cpp @@ -45,6 +45,7 @@ void LLBadgeOwner::initBadgeParams(const LLBadge::Params& p) if (!p.equals(LLUICtrlFactory::getDefaultParams<LLBadge>())) { mBadge = createBadge(p); + addBadgeToParentPanel(); } } @@ -53,7 +54,6 @@ void LLBadgeOwner::setBadgeLabel(const LLStringExplicit& label) if (mBadge == NULL) { mBadge = createBadge(LLUICtrlFactory::getDefaultParams<LLBadge>()); - addBadgeToParentPanel(); } |