From 778ddd361839eb9a971b99bb3d77a30e59ddc977 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Wed, 3 Dec 2008 16:31:14 -0700 Subject: Revised pointer deletion based on Bjorn's suggestion. Signed-off-by: Ira Rice --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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(); -- cgit v1.2.3-70-g09d2