summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 bddd8bba6..1a2cf059b 100644
--- a/src/gui/windows/buydialog.cpp
+++ b/src/gui/windows/buydialog.cpp
@@ -416,6 +416,7 @@ void BuyDialog::init()
BuyDialog::~BuyDialog()
{
delete2(mShopItems);
+ delete2(mSortModel);
instances.remove(this);
if (buySellHandler)
buySellHandler->cleanDialogReference(this);