better
authorkoda
Wed, 02 Nov 2011 17:42:52 +0100
changeset 6262 32a032f1b178
parent 6261 7050772ae46a
child 6263 ec41637ceb64
better
project_files/HedgewarsMobile/Classes/HWUtils.m
--- a/project_files/HedgewarsMobile/Classes/HWUtils.m	Wed Nov 02 16:31:16 2011 +0100
+++ b/project_files/HedgewarsMobile/Classes/HWUtils.m	Wed Nov 02 17:42:52 2011 +0100
@@ -134,8 +134,8 @@
 }
 
 +(void) releaseCache {
-    releaseAndNil(cachedModel);
-    releaseAndNil(cachedColors);
+    [cachedModel release], cachedModel = nil;
+    [cachedColors release], cachedColors = nil;
 }
 
 @end