Any idea on how to release the UIImage object picture in this case:
- (void)connectionDidFinishLoading:(NSURLConnection *)connection
{
UIIm
I think: [delegate ThumbDidLoad:self.indexPathInTableView Image:[picture autorelease]];
or
[delegate ThumbDidLoad:self.indexPathInTableView Image:picture];
[picture release];
But I see two problems in your code - leaks at picture = payload; and [payload release]; can release image, that is also indicated by the picture