summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorPaul Guslisty <pguslisty@productengine.com>2009-12-25 17:18:51 +0200
committerPaul Guslisty <pguslisty@productengine.com>2009-12-25 17:18:51 +0200
commitdafd9e269f8f743f2168e015c8efccedc662bba0 (patch)
treeae351249618533c14bad1fa330f64889986cfa14 /indra/llui
parent19faceabf4006a9306c01d3208cf54eec332f4e5 (diff)
Fixed a memory leak in ContextMenu (EXT-3563).
--HG-- branch : product-engine
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llmenugl.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp
index 202ed04fbc..60ef01074b 100644
--- a/indra/llui/llmenugl.cpp
+++ b/indra/llui/llmenugl.cpp
@@ -3610,6 +3610,11 @@ public:
LLContextMenuBranch(const Params&);
+ virtual ~LLContextMenuBranch()
+ {
+ delete mBranch;
+ }
+
// called to rebuild the draw label
virtual void buildDrawLabel( void );