diff -r 4c9ae0f484da -r 878e551f0b4a project_files/HedgewarsMobile/Classes/SquareButtonView.m --- a/project_files/HedgewarsMobile/Classes/SquareButtonView.m Thu May 12 23:00:26 2011 +0200 +++ b/project_files/HedgewarsMobile/Classes/SquareButtonView.m Thu May 12 23:29:31 2011 +0200 @@ -77,8 +77,8 @@ } -(void) dealloc { - [ownerDictionary release]; - [colorArray release]; + releaseAndNil(ownerDictionary); + releaseAndNil(colorArray); [super dealloc]; }