Re: Fwd: Re: Login item support for Panther, Tiger and Leopard
Re: Fwd: Re: Login item support for Panther, Tiger and Leopard
- Subject: Re: Fwd: Re: Login item support for Panther, Tiger and Leopard
- From: "Sean McBride" <email@hidden>
- Date: Tue, 12 Feb 2008 00:08:05 -0500
Jerry Krinock <email@hidden> said:
> (b) Documentation for LSSharedFileListInsertItemURL() says to
>release
> the returned item when done with it. This is odd because
> that name does not qualify under the "Create Rule" and also,
> if I do release the returned item, it crashes.
I use that API and CFRelease()ing the return object does not crash for
me. You sure it's not null? However, I have noticed, using
Instruments.app, that these APIs have several leaks. I suggest you file
bugs. :(
>[1] Like this lovely snippet....
>
> * LSSharedFileListItemRemove()
> *
> * Summary:
> * Remove item from shared list.
> *
> * Discussion:
> * Removes item from shared list.
> *
Pure gold!
Sean
--
"Nothing will benefit human health and increase the chances for survival
of life on earth as much as the evolution to a vegetarian diet" - Albert
Einstein
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden