gmoledina/GMGridView — pull request #32 by soleares (2012-01-27 03:29:48+00:00)
Title: Memory Leak: GMGridView never gets deallocated

GMGridView never gets deallocated because of a retain cycle with GMGridViewCell.

If you repeatedly push/pop it with a UINavigationController it will never dealloc and the memory usage increases as more GMGridView (and related) objects get alloced.

It's due to a reference to self in the cell.deleteBlock in newItemSubViewForPosition:. Updating to to weakSelf fixes it.

So happy to have this resolved...