From e54f285078ef704950648829d50cef7a9265e9fd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 29 Mar 2015 11:43:09 +0300 Subject: Fix memory leak in shop window on exit. --- src/gui/windows/shopwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui') diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp index 05a248e79..4afe10845 100644 --- a/src/gui/windows/shopwindow.cpp +++ b/src/gui/windows/shopwindow.cpp @@ -236,6 +236,7 @@ ShopWindow::~ShopWindow() delete2(mSellShopItemList); delete2(mBuyShopItems); delete2(mSellShopItems); + delete2(mTradeItem); instances.remove(this); } -- cgit v1.2.3-70-g09d2