summaryrefslogtreecommitdiff
path: root/src/gui/itemcontainer.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/itemcontainer.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/itemcontainer.cpp')
-rw-r--r--src/gui/itemcontainer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/itemcontainer.cpp b/src/gui/itemcontainer.cpp
index e655d3fc..5693d001 100644
--- a/src/gui/itemcontainer.cpp
+++ b/src/gui/itemcontainer.cpp
@@ -66,6 +66,7 @@ ItemContainer::ItemContainer(Inventory *inventory, int offset):
ItemContainer::~ItemContainer()
{
mSelImg->decRef();
+ delete mItemPopup;
}
void ItemContainer::logic()