project_files/HedgewarsMobile/Classes/FlagsViewController.m
changeset 5208 878e551f0b4a
parent 4976 088d40d8aba2
child 6078 8c0cc07731e5
--- a/project_files/HedgewarsMobile/Classes/FlagsViewController.m	Thu May 12 23:00:26 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/FlagsViewController.m	Thu May 12 23:29:31 2011 +0200
@@ -182,10 +182,10 @@
 }
 
 -(void) dealloc {
-    [teamDictionary release];
-    [lastIndexPath release];
-    [flagArray release];
-    [communityArray release];
+    releaseAndNil(teamDictionary);
+    releaseAndNil(lastIndexPath);
+    releaseAndNil(flagArray);
+    releaseAndNil(communityArray);
     [super dealloc];
 }