summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-12-03 16:31:14 -0700
committerIra Rice <irarice@gmail.com>2008-12-03 16:31:14 -0700
commit778ddd361839eb9a971b99bb3d77a30e59ddc977 (patch)
tree270097ad5725a5698a139f5e7f5cf3c91e97a4eb /src/main.cpp
parentf0f505df6f760cecfa2ed4652707c2e0ca865d0c (diff)
downloadmana-client-778ddd361839eb9a971b99bb3d77a30e59ddc977.tar.gz
mana-client-778ddd361839eb9a971b99bb3d77a30e59ddc977.tar.bz2
mana-client-778ddd361839eb9a971b99bb3d77a30e59ddc977.tar.xz
mana-client-778ddd361839eb9a971b99bb3d77a30e59ddc977.zip
Revised pointer deletion based on Bjorn's suggestion.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 1d4c01d9..a85136ab 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -941,6 +941,8 @@ int main(int argc, char *argv[])
progressBar = NULL;
progressLabel = NULL;
currentDialog = NULL;
+ setup = NULL;
+ setupWindow = NULL;
login_wallpaper->decRef();
login_wallpaper = NULL;
@@ -1024,6 +1026,8 @@ int main(int argc, char *argv[])
#endif
delete progressBar;
delete progressLabel;
+ delete setup;
+ delete setupWindow;
delete network;
SDLNet_Quit();