On Jan 22, 2009, at 2:51 PM, David Duncan wrote:

On Jan 22, 2009, at 2:40 PM, Alexander Heinz wrote:

Now, to figure out why I'm sending a - release to a CGImage...


If you'd set the contents property of a CALayer to a CGImage at any point? Since you set the view's layer to nil, it could be that at that point, some number of CALayers are being torn down and this is a result. If your not properly managing memory in this instance, then that could be your failure.

Yep, that was it. I was performing an extra CGImageRelease() in certain circumstances.

Thanks to everyone for the help!

(I really gotta read up on Instruments more...)
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to