summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterbuycurrency.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloaterbuycurrency.cpp')
-rw-r--r--indra/newview/llfloaterbuycurrency.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterbuycurrency.cpp b/indra/newview/llfloaterbuycurrency.cpp
index 55667b55e1..b49dfbff34 100644
--- a/indra/newview/llfloaterbuycurrency.cpp
+++ b/indra/newview/llfloaterbuycurrency.cpp
@@ -166,7 +166,7 @@ BOOL LLFloaterBuyCurrencyUI::canClose()
void LLFloaterBuyCurrencyUI::onClose(bool app_quitting)
{
LLFloater::onClose(app_quitting);
- delete this;
+ destroy();
}
void LLFloaterBuyCurrencyUI::updateUI()