Does this leak memory? This code is executed in cellForRowAtIndexPath:
outside the cell creation block (so each time the table cell is updated).
MyView *myView = [[MyView alloc] init];
// ... configuration code
cell.accessoryView = myView;
[myView release];
Or in other words, will the UITableViewCell
release the object in its accessoryView
when a new object gets assigned to it?
Thanks.