diff options
author | maksymsproductengine <maksymsproductengine@lindenlab.com> | 2014-02-05 20:45:09 +0200 |
---|---|---|
committer | maksymsproductengine <maksymsproductengine@lindenlab.com> | 2014-02-05 20:45:09 +0200 |
commit | 1033c9d67f6bf3fd317bc2e6a6990e2b7e5d80c8 (patch) | |
tree | 21b7fe3491804d6acd521bb3cdc6c1ec65a1ee44 /indra/newview/lltoolcomp.cpp | |
parent | 52ce788d0cf77361dc337edaf136f401acd0d4a9 (diff) |
MAINT-3555 crash in LLPanel::~LLPanel() on shutdown:
- memory leaks fixing;
Diffstat (limited to 'indra/newview/lltoolcomp.cpp')
-rwxr-xr-x | indra/newview/lltoolcomp.cpp | 2 |
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 |