Skip to content

Commit

Permalink
Fixed: Memory leak.
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoabits committed Oct 26, 2010
1 parent 8ac7f90 commit 64887d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/AQGridView.m
Original file line number Diff line number Diff line change
Expand Up @@ -1569,7 +1569,7 @@ - (void) updateVisibleGridCellsNow
[visibleSet addIndex: cell.displayIndex];
}

NSMutableIndexSet * missingSet = [newVisibleIndices mutableCopy];
NSMutableIndexSet * missingSet = [[newVisibleIndices mutableCopy] autorelease];
[missingSet removeIndexes: visibleSet];
[visibleSet release];

Expand Down

0 comments on commit 64887d4

Please sign in to comment.