From f833adc1703186f93b6b6f64e65de40704d9d75e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 23 Mar 2015 19:44:58 +0300 Subject: Fix memory leak in ShopWindow. --- src/gui/windows/shopwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/windows/shopwindow.cpp') diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp index 9a4fd7729..05a248e79 100644 --- a/src/gui/windows/shopwindow.cpp +++ b/src/gui/windows/shopwindow.cpp @@ -232,6 +232,8 @@ ShopWindow::~ShopWindow() { saveList(); + delete2(mBuyShopItemList); + delete2(mSellShopItemList); delete2(mBuyShopItems); delete2(mSellShopItems); -- cgit v1.2.3-70-g09d2