Shouldn't cells be autorelease?
Opened this issue · 0 comments
KerryBatts commented
When I analyze the code in my non-arc project, each allocation of cell in UIBubbleTableView is marked as a potential memory leak. Other examples of adding cells to table views use the [[[class alloc] init] autorelease] paradigm. Should this be added to the code?
Similarly, analyze marks UIBubbleHeaderTableView's creation of the lable as a potential leak. The existing code has [[UILabel alloc] initWithFrame: ...], and it appears we should autorelease it.
Finally, analyze also marks the alloc/init in setType: as a potential leak.