summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-12-18 13:54:17 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-12-18 13:54:17 +0000
commit3b6eb7b3947adea388d6613bf17d2bdc56b30a1d (patch)
tree760dcc8734c172c7a8fe6a4b759756b7a2b7df55
parentf6b5df357228c7b950890e172e0215adee4be99a (diff)
downloadmana-3b6eb7b3947adea388d6613bf17d2bdc56b30a1d.tar.gz
mana-3b6eb7b3947adea388d6613bf17d2bdc56b30a1d.tar.bz2
mana-3b6eb7b3947adea388d6613bf17d2bdc56b30a1d.tar.xz
mana-3b6eb7b3947adea388d6613bf17d2bdc56b30a1d.zip
Remember to delete the progressbar and label also when the game was not
started.
-rw-r--r--ChangeLog5
-rw-r--r--src/main.cpp2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ebdaa32f..423db4f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-12-18 Bjørn Lindeijer <bjorn@lindeijer.nl>
+
+ * src/main.cpp: Remember to delete the progressbar and label also when
+ the game was not started.
+
2007-12-14 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/sprites/head-mask.png,
diff --git a/src/main.cpp b/src/main.cpp
index d8818136..5a0e2ed9 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -853,6 +853,8 @@ int main(int argc, char *argv[])
#ifdef PACKAGE_VERSION
delete versionLabel;
#endif
+ delete progressBar;
+ delete progressLabel;
delete network;
SDLNet_Quit();