project_files/HedgewarsMobile/Classes/SplitViewRootController.m
changeset 5208 878e551f0b4a
parent 4976 088d40d8aba2
child 5219 9e2a17ab178b
--- a/project_files/HedgewarsMobile/Classes/SplitViewRootController.m	Thu May 12 23:00:26 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/SplitViewRootController.m	Thu May 12 23:29:31 2011 +0200
@@ -83,9 +83,9 @@
 }
 
 -(void) dealloc {
-    [activeController release];
-    [rightNavController release];
-    [splitViewRootController release];
+    releaseAndNil(activeController);
+    releaseAndNil(rightNavController);
+    releaseAndNil(splitViewRootController);
     [super dealloc];
 }