summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolcomp.cpp
diff options
context:
space:
mode:
authormaksymsproductengine <maksymsproductengine@lindenlab.com>2014-02-05 20:45:09 +0200
committermaksymsproductengine <maksymsproductengine@lindenlab.com>2014-02-05 20:45:09 +0200
commit1033c9d67f6bf3fd317bc2e6a6990e2b7e5d80c8 (patch)
tree21b7fe3491804d6acd521bb3cdc6c1ec65a1ee44 /indra/newview/lltoolcomp.cpp
parent52ce788d0cf77361dc337edaf136f401acd0d4a9 (diff)
MAINT-3555 crash in LLPanel::~LLPanel() on shutdown:
- memory leaks fixing;
Diffstat (limited to 'indra/newview/lltoolcomp.cpp')
-rwxr-xr-xindra/newview/lltoolcomp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltoolcomp.cpp b/indra/newview/lltoolcomp.cpp
index 5270c3d33f..b75d6b3dcb 100755
--- a/indra/newview/lltoolcomp.cpp
+++ b/indra/newview/lltoolcomp.cpp
@@ -61,7 +61,7 @@ extern LLControlGroup gSavedSettings;
// we use this in various places instead of NULL
-static LLTool* sNullTool = new LLTool(std::string("null"), NULL);
+static LLPointer<LLTool> sNullTool(new LLTool(std::string("null"), NULL));
//-----------------------------------------------------------------------
// LLToolComposite