> Just a quick note: one problem with this is false positives; you don't > necessarily control all the code that handles the object in question.
I think perhaps you didn't notice that he said "at -dealloc time". There is no case in which an autorelease pool should have a reference to an object when the object is being dealloc'd. At all other times of course, there may be references in autorelease pools which were correctly put there by library code after a retain. -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice _______________________________________________ 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