On Tue, Jul 1, 2008 at 1:09 PM, Kyle Sluder <[EMAIL PROTECTED]> wrote: > There won't be any documentation regarding allocating and deallocating > most objects, because, like Cocoa, Core Foundation religiously follows > a memory management scheme known as the Create Rule. ... > How did you create your auth ref? > CFHTTPAuthenticationCreateFromResponse? It seems that you have > forgotten to CFRetain it (when you store it somewhere is the most > likely place) and freeing the request is releasing the auth ref which > is also being freed.
Since that function contains "Create", you already own it. CFRetaining it will just require you to CFRelease it twice, which is pointless. Mike _______________________________________________ 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 [EMAIL PROTECTED]