summaryrefslogtreecommitdiff
path: root/indra/newview/llgrouplist.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-01-09 09:47:19 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-01-09 09:47:19 -0500
commit3ed8f8907665d8700199a1181a5dd106a6804edb (patch)
tree3c41a427dfbae7e14272ccd64d2f6bf47bf70216 /indra/newview/llgrouplist.cpp
parent837e38d8195b2928648c9c383bea1b3f1cf68fa5 (diff)
parent41ceee848bbbaec892471b6396bd2d2383d10aa3 (diff)
merge
Diffstat (limited to 'indra/newview/llgrouplist.cpp')
-rw-r--r--indra/newview/llgrouplist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llgrouplist.cpp b/indra/newview/llgrouplist.cpp
index f7ed1116cb..bbf66ca750 100644
--- a/indra/newview/llgrouplist.cpp
+++ b/indra/newview/llgrouplist.cpp
@@ -95,7 +95,7 @@ LLGroupList::LLGroupList(const Params& p)
LLGroupList::~LLGroupList()
{
gAgent.removeListener(this);
- delete mContextMenuHandle.get();
+ if (mContextMenuHandle.get()) mContextMenuHandle.get()->die();
}
// virtual