cocoaTouch/MainMenuViewController.m
changeset 3364 e5403e2bf02c
parent 3356 3ae3fccb439e
child 3374 0d522416d97f
--- a/cocoaTouch/MainMenuViewController.m	Wed Apr 21 21:38:07 2010 +0000
+++ b/cocoaTouch/MainMenuViewController.m	Thu Apr 22 17:43:12 2010 +0000
@@ -65,7 +65,6 @@
     [indicator startAnimating];
     [alert addSubview:indicator];
     [indicator release];
-    [alert release];
     
     // create a team
     createTeamNamed(@"Default Team");
@@ -84,6 +83,7 @@
     
     // ok let the user take control
     [alert dismissWithClickedButtonIndex:0 animated:YES];
+    [alert release];
 
 	[pool release];
 	[NSThread exit];