diff options
-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 |