summaryrefslogtreecommitdiff
path: root/src/main.cpp
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 /src/main.cpp
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.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
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();