diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-15 22:11:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-15 22:11:37 +0300 |
commit | d87cc140a5e46d417d670c470c3ceaf54c2dfbf5 (patch) | |
tree | 89de4ead3034f6f6cd4bbc15e4c6df13ff841c37 /src/gui/windows/itemamountwindow.cpp | |
parent | ec7d24a8f2d7d528bc200a62f7242e6817b9e1ed (diff) | |
download | manaverse-d87cc140a5e46d417d670c470c3ceaf54c2dfbf5.tar.gz manaverse-d87cc140a5e46d417d670c470c3ceaf54c2dfbf5.tar.bz2 manaverse-d87cc140a5e46d417d670c470c3ceaf54c2dfbf5.tar.xz manaverse-d87cc140a5e46d417d670c470c3ceaf54c2dfbf5.zip |
Fix leak in ItemAmountWindow.
Diffstat (limited to 'src/gui/windows/itemamountwindow.cpp')
-rw-r--r-- | src/gui/windows/itemamountwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp index e41e276fc..506044b20 100644 --- a/src/gui/windows/itemamountwindow.cpp +++ b/src/gui/windows/itemamountwindow.cpp @@ -51,6 +51,7 @@ #include "resources/item/item.h" +#include "utils/delete2.h" #include "utils/gettext.h" #ifndef USE_SDL2 @@ -309,6 +310,7 @@ void ItemAmountWindow::postInit() ItemAmountWindow::~ItemAmountWindow() { + delete2(mItemsModal); } // Show ItemTooltip |