diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-10 18:56:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-10 18:56:51 +0300 |
commit | b4b38bb98d95458442c745f30c0d697e2164fcd9 (patch) | |
tree | 9e3643952a7b52b958ead35e09d958329f574283 /src/gui | |
parent | dcea1b0b671590104c663e2a6066c15cd40a13ff (diff) | |
download | mv-b4b38bb98d95458442c745f30c0d697e2164fcd9.tar.gz mv-b4b38bb98d95458442c745f30c0d697e2164fcd9.tar.bz2 mv-b4b38bb98d95458442c745f30c0d697e2164fcd9.tar.xz mv-b4b38bb98d95458442c745f30c0d697e2164fcd9.zip |
Fix leak in buy dialog.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windows/buydialog.cpp | 1 |
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); |