diff options
author | Paul Guslisty <pguslisty@productengine.com> | 2009-12-25 17:18:51 +0200 |
---|---|---|
committer | Paul Guslisty <pguslisty@productengine.com> | 2009-12-25 17:18:51 +0200 |
commit | dafd9e269f8f743f2168e015c8efccedc662bba0 (patch) | |
tree | ae351249618533c14bad1fa330f64889986cfa14 /indra/llui | |
parent | 19faceabf4006a9306c01d3208cf54eec332f4e5 (diff) |
Fixed a memory leak in ContextMenu (EXT-3563).
--HG--
branch : product-engine
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llmenugl.cpp | 5 |
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 ); |