summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStinson Linden <stinson@lindenlab.com>2014-04-30 23:10:35 +0100
committerStinson Linden <stinson@lindenlab.com>2014-04-30 23:10:35 +0100
commite5375795e1ac519eb62b79807d5f5d4c5841990d (patch)
treef0fa78479e2d16a736e177620af87afc24a38a7f
parent72c11c0e578b466eccc64e15fcaeb8d977c15e70 (diff)
MAINT-4009: Patching the LLTabContainer that was leaking some child views and their associated llimage allocations.
-rwxr-xr-xindra/llui/lltabcontainer.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/llui/lltabcontainer.cpp b/indra/llui/lltabcontainer.cpp
index ebc6183b8b..273e9c1ef6 100755
--- a/indra/llui/lltabcontainer.cpp
+++ b/indra/llui/lltabcontainer.cpp
@@ -1140,6 +1140,17 @@ void LLTabContainer::addTabPanel(const TabPanelParams& panel)
addChild( btn, 0 );
}
}
+ else
+ {
+ if (textbox)
+ {
+ LLUICtrl::addChild(textbox, 0);
+ }
+ if (btn)
+ {
+ LLUICtrl::addChild(btn, 0);
+ }
+ }
if (child)
{