diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-29 11:43:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-29 11:43:09 +0300 |
commit | e54f285078ef704950648829d50cef7a9265e9fd (patch) | |
tree | 95c1c687f09bc70f3b719f34db9e4a49acfc6f70 /src/gui/windows/shopwindow.cpp | |
parent | 953e1adb118cf93dd411dfa3e66d994aa9abb548 (diff) | |
download | manaverse-e54f285078ef704950648829d50cef7a9265e9fd.tar.gz manaverse-e54f285078ef704950648829d50cef7a9265e9fd.tar.bz2 manaverse-e54f285078ef704950648829d50cef7a9265e9fd.tar.xz manaverse-e54f285078ef704950648829d50cef7a9265e9fd.zip |
Fix memory leak in shop window on exit.
Diffstat (limited to 'src/gui/windows/shopwindow.cpp')
-rw-r--r-- | src/gui/windows/shopwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |