Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

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

Open
iparag opened this Issue Jan 24, 2011 · 2 comments

Comments

Projects
None yet
2 participants

iparag commented Jan 24, 2011

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment