diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-23 19:44:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-23 19:44:58 +0300 |
commit | f833adc1703186f93b6b6f64e65de40704d9d75e (patch) | |
tree | 9ab601d9ed237e53f239fd69bac68aa33434ffbe | |
parent | b5fdef02537733a03c352f73fe37d1e72dd1b2e8 (diff) | |
download | manaverse-f833adc1703186f93b6b6f64e65de40704d9d75e.tar.gz manaverse-f833adc1703186f93b6b6f64e65de40704d9d75e.tar.bz2 manaverse-f833adc1703186f93b6b6f64e65de40704d9d75e.tar.xz manaverse-f833adc1703186f93b6b6f64e65de40704d9d75e.zip |
Fix memory leak in ShopWindow.
-rw-r--r-- | src/gui/windows/shopwindow.cpp | 2 |
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); |