summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-10 18:56:51 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-10 18:56:51 +0300
commitb4b38bb98d95458442c745f30c0d697e2164fcd9 (patch)
tree9e3643952a7b52b958ead35e09d958329f574283 /src
parentdcea1b0b671590104c663e2a6066c15cd40a13ff (diff)
downloadmanaplus-b4b38bb98d95458442c745f30c0d697e2164fcd9.tar.gz
manaplus-b4b38bb98d95458442c745f30c0d697e2164fcd9.tar.bz2
manaplus-b4b38bb98d95458442c745f30c0d697e2164fcd9.tar.xz
manaplus-b4b38bb98d95458442c745f30c0d697e2164fcd9.zip
Fix leak in buy dialog.
Diffstat (limited to 'src')
-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);