summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelteleporthistory.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-01-08 10:48:26 -0500
committerOz Linden <oz@lindenlab.com>2012-01-08 10:48:26 -0500
commit3763386987bd7ab42438a1f1bdf3a78283bcbf51 (patch)
treeb45814d100958d0adb07100440888c56200a5a9a /indra/newview/llpanelteleporthistory.cpp
parent66555b844dfcdb1bbbab472967a90060c5d0838f (diff)
parent757a955bd700eb4f838762dcbe789a77ee052064 (diff)
merge changes for vmrg-213
Diffstat (limited to 'indra/newview/llpanelteleporthistory.cpp')
-rw-r--r--indra/newview/llpanelteleporthistory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelteleporthistory.cpp b/indra/newview/llpanelteleporthistory.cpp
index d3543daff0..1f1cccad85 100644
--- a/indra/newview/llpanelteleporthistory.cpp
+++ b/indra/newview/llpanelteleporthistory.cpp
@@ -388,7 +388,7 @@ LLTeleportHistoryPanel::LLTeleportHistoryPanel()
LLTeleportHistoryPanel::~LLTeleportHistoryPanel()
{
LLTeleportHistoryFlatItemStorage::instance().purge();
- delete mGearMenuHandle.get();
+ if (mGearMenuHandle.get()) mGearMenuHandle.get()->die();
mTeleportHistoryChangedConnection.disconnect();
}