diff options
-rw-r--r-- | src/gui/windows/equipmentwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp index 3320f9e1e..4d587a2e8 100644 --- a/src/gui/windows/equipmentwindow.cpp +++ b/src/gui/windows/equipmentwindow.cpp @@ -161,6 +161,7 @@ EquipmentWindow::~EquipmentWindow() std::vector<EquipmentBox*> &boxes = (*it)->boxes; delete_all(boxes); boxes.clear(); + delete *it; } if (mImageSet) { |