--- a/cocoaTouch/MainMenuViewController.m Thu Mar 25 02:02:53 2010 +0000
+++ b/cocoaTouch/MainMenuViewController.m Thu Mar 25 23:01:50 2010 +0000
@@ -113,6 +113,8 @@
-(void) appear {
[[SDLUIKitDelegate sharedAppDelegate].uiwindow addSubview:self.view];
+ [self release];
+
[UIView beginAnimations:@"inserting main controller" context:NULL];
[UIView setAnimationDuration:1];
self.view.alpha = 1;
@@ -124,6 +126,8 @@
[UIView setAnimationDuration:1];
self.view.alpha = 0;
[UIView commitAnimations];
+
+ [self retain];
[self.view removeFromSuperview];
}