summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-02-04 15:37:39 -0700
committerIra Rice <irarice@gmail.com>2009-02-04 15:37:39 -0700
commit0bc83fbba9c8b5f2677b8183f16dd95645f3e998 (patch)
tree7b9dfae848db0677d48c31aa56816aa5706d71e8 /src/gui/inventorywindow.cpp
parentf025d7798f1b280c15f44919878c926d2b10c2b7 (diff)
downloadmana-0bc83fbba9c8b5f2677b8183f16dd95645f3e998.tar.gz
mana-0bc83fbba9c8b5f2677b8183f16dd95645f3e998.tar.bz2
mana-0bc83fbba9c8b5f2677b8183f16dd95645f3e998.tar.xz
mana-0bc83fbba9c8b5f2677b8183f16dd95645f3e998.zip
A few more pointers which weren't getting deleted.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r--src/gui/inventorywindow.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index 246219f4..a3572d4f 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -105,6 +105,18 @@ InventoryWindow::InventoryWindow(int invSize):
setLocationRelativeTo(getParent());
}
+InventoryWindow::~InventoryWindow()
+{
+ delete mWeightBar;
+ delete mSlotsBar;
+ delete mUseButton;
+ delete mDropButton;
+ delete mItems;
+ delete mWeightLabel;
+ delete mSlotsLabel;
+ delete mInvenScroll;
+}
+
void InventoryWindow::logic()
{
Window::logic();