project_files/HedgewarsMobile/Classes/FortsViewController.m
changeset 5208 878e551f0b4a
parent 4976 088d40d8aba2
child 5982 283be2ca54a7
--- a/project_files/HedgewarsMobile/Classes/FortsViewController.m	Thu May 12 23:00:26 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/FortsViewController.m	Thu May 12 23:29:31 2011 +0200
@@ -149,9 +149,9 @@
 
 
 -(void) dealloc {
-    [teamDictionary release];
-    [lastIndexPath release];
-    [fortArray release];
+    releaseAndNil(teamDictionary);
+    releaseAndNil(lastIndexPath);
+    releaseAndNil(fortArray);
     [super dealloc];
 }