summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/buydialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp
index b0e7aaa04..ebf4ef8a4 100644
--- a/src/gui/windows/buydialog.cpp
+++ b/src/gui/windows/buydialog.cpp
@@ -409,6 +409,7 @@ BuyDialog::~BuyDialog()
{
delete2(mShopItems);
instances.remove(this);
+ buySellHandler->cleanDialogReference(this);
}
void BuyDialog::setMoney(const int amount)