--- a/project_files/HedgewarsMobile/Classes/MainMenuViewController.m Thu May 12 23:00:26 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/MainMenuViewController.m Thu May 12 23:29:31 2011 +0200
@@ -239,10 +239,10 @@
}
-(void) dealloc {
- [settingsViewController release];
- [gameConfigViewController release];
- [aboutViewController release];
- [savedGamesViewController release];
+ releaseAndNil(settingsViewController);
+ releaseAndNil(gameConfigViewController);
+ releaseAndNil(aboutViewController);
+ releaseAndNil(savedGamesViewController);
[super dealloc];
}