HI,

This is for a Mac based App.

I’m looking at some old code and have found what I think is a long standing 
bug. This is a class that has an initWithXXX method which may fail, in this 
case it calls [self autorelease] and returns nil. However, I have found a case 
whereby does a [self autorelease], but instead of retuning nil, it returns 
self. Is this an error?

If so, this framework is being called from an ARC based App, what would be the 
effect of this error on the App?

All the Best
Dave
_______________________________________________

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]

Reply via email to