This isn't related to the bug you're asking about, but it's gone by
twice, so I need to comment on it:
On Oct 7, 2009, at 11:33 AM, Eagle Offshore wrote:
return [[NSFileWrapper alloc]
initDirectoryWithFileWrappers:fileWrappers];
This is a leak. The caller is not expecting to receive ownership
responsibilities for the returned object, and so won't release it.
The current method is not arranging for it to be released, either.
So, nothing is and it leaks. Autoreleasing the object would fix the
leak.
Cheers (and good luck fixing your other bug),
Ken
_______________________________________________
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