summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-27 12:07:05 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-27 12:07:05 -0800
commita0bc58aac498dff7f06070bf3be025b5e396f84f (patch)
tree3dd25a84395c658fef0c98bc6a413c983b413f37 /indra/newview
parent73665e5ad68ebbe2a6058128f92d251da4cd9d3b (diff)
CID-26
Checker: CTOR_DTOR_LEAK Function: LLViewerWindow::LLViewerWindow(const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, int, int, int, int, int, int) File: /indra/newview/llviewerwindow.cpp
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewerwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index c1817496b1..424b84a756 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -1659,6 +1659,9 @@ LLViewerWindow::~LLViewerWindow()
{
llinfos << "Destroying Window" << llendl;
destroyWindow();
+
+ delete mDebugText;
+ mDebugText = NULL;
}