summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrichard <none@none>2010-01-11 17:35:17 -0800
committerrichard <none@none>2010-01-11 17:35:17 -0800
commit0f11042d25e0d9f26fd5921637e2a27209204d56 (patch)
tree262b86e30e6c117facca0dc8c0f151c3086797fc
parent2128d0c90fe4185b6027080b6f80c2d973a072f0 (diff)
EXT-4095 - [crashhunters] Crash on shutdown in LLTextBase destructor
reviewed by James
-rw-r--r--indra/llui/lltexteditor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp
index e8fc9475a5..f2c3879a6c 100644
--- a/indra/llui/lltexteditor.cpp
+++ b/indra/llui/lltexteditor.cpp
@@ -308,7 +308,8 @@ LLTextEditor::~LLTextEditor()
// Scrollbar is deleted by LLView
std::for_each(mUndoStack.begin(), mUndoStack.end(), DeletePointer());
- delete mContextMenu;
+ // context menu is owned by menu holder, not us
+ //delete mContextMenu;
}
////////////////////////////////////////////////////////////