From dafd9e269f8f743f2168e015c8efccedc662bba0 Mon Sep 17 00:00:00 2001 From: Paul Guslisty Date: Fri, 25 Dec 2009 17:18:51 +0200 Subject: Fixed a memory leak in ContextMenu (EXT-3563). --HG-- branch : product-engine --- indra/llui/llmenugl.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra/llui/llmenugl.cpp') 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 ); -- cgit v1.2.3