From 7ca971f04907031b80ffbcb159e5af2f595e3af8 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Fri, 23 Sep 2005 23:47:32 +0000 Subject: Merged most of the changes in biggeruniverse's second memory cleanup patch. --- src/gui/status.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui/status.cpp') diff --git a/src/gui/status.cpp b/src/gui/status.cpp index a601ff59..aea72995 100644 --- a/src/gui/status.cpp +++ b/src/gui/status.cpp @@ -220,8 +220,10 @@ StatusWindow::~StatusWindow() delete statsTitleLabel; delete statsTotalLabel; delete statsCostLabel; - for (int i = 0; i < 6; i++) { + for (int i = 0; i < 6; i++) + { delete statsLabel[i]; + delete pointsLabel[i]; delete statsDisplayLabel[i]; delete statsButton[i]; } -- cgit v1.2.3-70-g09d2