On Sat, 20 Feb 2010 01:47:27 -0500, Thomas Wetmore <[email protected]> said:
>The question came up because I found a case in my code where I convinced myself
I was over-releasing an object created in this fashion

You will never over-release an instance if you follow the basic rule - if
and only if you yourself copied it, alloced it, or retained it (the CAR
rule), you may (and should) balance that call with one eventual release (or
autorelease).

m.
-- 
matt neuburg, phd = [email protected], <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings



_______________________________________________

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

This email sent to [email protected]

Reply via email to