From 0bc83fbba9c8b5f2677b8183f16dd95645f3e998 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Wed, 4 Feb 2009 15:37:39 -0700 Subject: A few more pointers which weren't getting deleted. Signed-off-by: Ira Rice --- src/gui/itemcontainer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/itemcontainer.cpp') 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() -- cgit v1.2.3-60-g2f50