Memory Leak: GMGridView never gets deallocated #32

Merged
merged 1 commit into from Jan 27, 2012
@@ -1076,7 +1076,7 @@ - (GMGridViewCell *)newItemSubViewForPosition:(NSInteger)position
NSInteger index = [weakSelf positionForItemSubview:aCell];
if (index != GMGV_INVALID_POSITION)
{
- [weakSelf.dataSource GMGridView:self deleteItemAtIndex:index];
+ [weakSelf.dataSource GMGridView:weakSelf deleteItemAtIndex:index];
[weakSelf removeObjectAtIndex:index];
}
};