summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Zaporozhan <dzaporozhan@productengine.com>2010-01-26 17:07:12 +0200
committerDmitry Zaporozhan <dzaporozhan@productengine.com>2010-01-26 17:07:12 +0200
commite8b4a14b1ddf8225909a577a1060c9fbd9456dbe (patch)
tree78ec11782ed0186c131adca1d3de8c6d9c3f89fc
parent3a0226824b7d03f7ad745af995066cfa99833cbc (diff)
Fixed major bug EXT-4719 - Crash in LLTextBase after showing popup menu for link.
--HG-- branch : product-engine
-rw-r--r--indra/llui/lltextbase.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp
index 47db990a37..f7da9f089a 100644
--- a/indra/llui/lltextbase.cpp
+++ b/indra/llui/lltextbase.cpp
@@ -244,7 +244,8 @@ LLTextBase::LLTextBase(const LLTextBase::Params &p)
LLTextBase::~LLTextBase()
{
- delete mPopupMenu;
+ // Menu, like any other LLUICtrl, is deleted by its parent - gMenuHolder
+
clearSegments();
}