MAINT-4009: Patching another memory leak in LLBadgeOwner that indirectly was also causing leaks in llimage.
parent
f43e46bc9c
commit
72c11c0e57
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue