summaryrefslogtreecommitdiff
path: root/src/gui/windows/shopwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-23 19:44:58 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-23 19:44:58 +0300
commitf833adc1703186f93b6b6f64e65de40704d9d75e (patch)
tree9ab601d9ed237e53f239fd69bac68aa33434ffbe /src/gui/windows/shopwindow.cpp
parentb5fdef02537733a03c352f73fe37d1e72dd1b2e8 (diff)
downloadmanaverse-f833adc1703186f93b6b6f64e65de40704d9d75e.tar.gz
manaverse-f833adc1703186f93b6b6f64e65de40704d9d75e.tar.bz2
manaverse-f833adc1703186f93b6b6f64e65de40704d9d75e.tar.xz
manaverse-f833adc1703186f93b6b6f64e65de40704d9d75e.zip
Fix memory leak in ShopWindow.
Diffstat (limited to 'src/gui/windows/shopwindow.cpp')
-rw-r--r--src/gui/windows/shopwindow.cpp2
1 files changed, 2 insertions, 0 deletions
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);