Hi All,
This is the only memory leak I seem to have left to deal with, but can't for the life of me see what's causing it. [Too many late nights maybe!]
This leak is reported in instruments running in Simulator. [Still waiting for my enrollment to come through, so can't test on iPhone yet.] The code draws the name of an image from a field in a SQlite db and uses the same named image stored in a folder in Resources. Instruments highlights the first line starting 'UIImage...'.
If anyone can chip in with a possible solution, thing to look for, or idea, I would be grateful.
This is the only memory leak I seem to have left to deal with, but can't for the life of me see what's causing it. [Too many late nights maybe!]
// Load the terms image into a NSData object and then assign it to the UIImageView
UIImage *termImage = [[UIImage alloc] initWithContentsOfFile:[[NSBundle mainBundle] pathForResource:[term imageNAME] ofType"png"]];
self.termView.termImage.image = termImage;
This leak is reported in instruments running in Simulator. [Still waiting for my enrollment to come through, so can't test on iPhone yet.] The code draws the name of an image from a field in a SQlite db and uses the same named image stored in a folder in Resources. Instruments highlights the first line starting 'UIImage...'.
If anyone can chip in with a possible solution, thing to look for, or idea, I would be grateful.