I know, the problem lies with the caller. But this approach is bad form in my view, and does require that you take more care to avoid leaks.

Graham


On 23 Jul 2008, at 12:19 pm, Ken Thomases wrote:

There's nothing about returning an object pointer by reference that's inherently prone to leaking.

_______________________________________________

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