On Mar 18, 2010, at 8:43 PM, William Squires wrote: > If I uncomment any of the object releases above, the app crashes in the > simulator, and all the call-stack items are gray (non-user code). But if I > don't release them, they'll leak memory, won't they, since iPhone OS doesn't > have GC?
No. You don’t own any references to those objects, because you didn’t get them from methods like ‘alloc’, ‘retain’ or ‘copy’. You should reread the memory management guidelines… —Jens_______________________________________________ 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