changeset 27 | b0affce7beb1 |
parent 24 | db8640a38faf |
child 28 | 06160a812d43 |
1.1 --- a/Source/Grid.m Thu Jul 31 20:01:26 2008 -0700 1.2 +++ b/Source/Grid.m Tue Mar 10 22:36:23 2009 -0700 1.3 @@ -201,7 +201,7 @@ 1.4 1.5 - (NSArray*) cells 1.6 { 1.7 - NSMutableArray *cells = [_cells mutableCopy]; 1.8 + NSMutableArray *cells = [[_cells mutableCopy] autorelease]; 1.9 for( int i=cells.count-1; i>=0; i-- ) 1.10 if( [cells objectAtIndex: i] == [NSNull null] ) 1.11 [cells removeObjectAtIndex: i];