On Mon, Mar 19, 2012 at 6:18 AM, Roland King <[email protected]> wrote: > No, the analyzer is right and your code is somewhat confused. I'm trying > to figure out how you ended up with code like that, did you find you had an > extra retain somewhere and need to get rid of it?
Yes. The allocated object has a retain count of 1, and the property is set to retain. So there's the extra retention. That's all it tells you, ie somewhere you either have > > @synthesize imagePickerController=_imagePIckerController; > Exactly. Without the release, the analyzer complains about leaks, and does so on ALL cases. _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
