From b4b38bb98d95458442c745f30c0d697e2164fcd9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 10 Mar 2017 18:56:51 +0300 Subject: Fix leak in buy dialog. --- src/gui/windows/buydialog.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/windows') 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); -- cgit v1.2.3-70-g09d2