Hi all - the LaunchServices/LSSharedFileList.h file states:

/*
*  LSSharedFileListInsertItemURL()
...
*  Result:
*    Reference to new item. Has to be released with CFRelease when the
*    item is not needed anymore.
* ... do I need to follow this advice if I enable garbage collection ? I would have thought that this was not needed, but the 'has to be' wording above kinda worries me.

Alternate question: if I CFRelease() the result & GC is enabled is there any fallout that will occur, or will everything work fine ?

Thanks all - Dave
_______________________________________________

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