summaryrefslogtreecommitdiff
path: root/src/gui/equipmentwindow.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-02-04 15:27:09 -0700
committerIra Rice <irarice@gmail.com>2009-02-04 15:27:09 -0700
commitf025d7798f1b280c15f44919878c926d2b10c2b7 (patch)
tree90d4476bb01f4312241a86eef88a86c25e6f4a04 /src/gui/equipmentwindow.cpp
parent1e20fad127583d7832130ecf50ca90d190ede91b (diff)
downloadmana-f025d7798f1b280c15f44919878c926d2b10c2b7.tar.gz
mana-f025d7798f1b280c15f44919878c926d2b10c2b7.tar.bz2
mana-f025d7798f1b280c15f44919878c926d2b10c2b7.tar.xz
mana-f025d7798f1b280c15f44919878c926d2b10c2b7.zip
Got rid of a few dangling pointers.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/equipmentwindow.cpp')
-rw-r--r--src/gui/equipmentwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp
index 7630c53c..8a7b23ae 100644
--- a/src/gui/equipmentwindow.cpp
+++ b/src/gui/equipmentwindow.cpp
@@ -95,6 +95,8 @@ EquipmentWindow::EquipmentWindow(Equipment *equipment):
EquipmentWindow::~EquipmentWindow()
{
delete mUnequip;
+ delete mItemPopup;
+ delete mPlayerBox;
}
void EquipmentWindow::draw(gcn::Graphics *graphics)