--- a/project_files/HedgewarsMobile/Classes/AmmoMenuViewController.m Thu May 12 23:00:26 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/AmmoMenuViewController.m Thu May 12 23:29:31 2011 +0200
@@ -387,11 +387,11 @@
}
-(void) dealloc {
- [nameLabel release];
- [extraLabel release];
- [captionLabel release];
- [imagesArray release];
- [buttonsArray release];
+ releaseAndNil(nameLabel);
+ releaseAndNil(extraLabel);
+ releaseAndNil(captionLabel);
+ releaseAndNil(imagesArray);
+ releaseAndNil(buttonsArray);
[super dealloc];
}