• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Fwd: Re: Login item support for Panther, Tiger and Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Login item support for Panther, Tiger and Leopard
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: NSAttributeString change the paragraph style
  • Next by Date: Re: Adding obj-c++ file to carbon project changes preprocessed header file types
  • Previous by thread: Re: Login item support for Panther, Tiger and Leopard
  • Next by thread: Re: Login item support for Panther, Tiger and Leopard
  • Index(es):
    • Date
    • Thread