summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpavelkproductengine <pavelkproductengine@lindenlab.com>2016-08-09 17:37:48 +0300
committerpavelkproductengine <pavelkproductengine@lindenlab.com>2016-08-09 17:37:48 +0300
commit471ff40c2c544158158abebcd88070c3c6aaf4c8 (patch)
treeaf6287aaf1ce67659f48e8c5801c0f5c9c09f05b
parentcc7dda96e7ab09ee221e741aac9813af815e0aed (diff)
Reverted change to lllayoutstack.cpp which could possibly cause memory leak
-rw-r--r--indra/llui/lllayoutstack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lllayoutstack.cpp b/indra/llui/lllayoutstack.cpp
index 11769760aa..69246a2f57 100644
--- a/indra/llui/lllayoutstack.cpp
+++ b/indra/llui/lllayoutstack.cpp
@@ -283,7 +283,7 @@ void LLLayoutStack::removeChild(LLView* view)
if (embedded_panelp)
{
mPanels.erase(std::find(mPanels.begin(), mPanels.end(), embedded_panelp));
- //delete embedded_panelp;
+ delete embedded_panelp;
updateFractionalSizes();
mNeedsLayout = true;
}