danielctull/DTGridView

DTGridView shows lot of memory leaks in loaddata function can you please look into it . thanks

iparag opened this issue · 2 comments

DTGridView shows lot of memory leaks in loaddata function can you please look into it . thanks

I met the same situation. After take a look at DTGridView loadData, I found some questions:

  1. gridRows, rowHeights, rowPositions are never used, only alloc, release, removeAllObjects are reference those three objects
  2. gridCells are never release: I cannot found release code in the DTGridView. According the loadDat, we should rel all the cell info object on the grid.

Add [self.gridCells release] at DTGridView.m dealloc will remove this problem.
But still cannot figure out how infinite grid view and snap grid view release self.gridCells