Re: Removing Applications from the Dock Programmatically
Re: Removing Applications from the Dock Programmatically
- Subject: Re: Removing Applications from the Dock Programmatically
- From: "Sherm Pendley" <email@hidden>
- Date: Wed, 27 Aug 2008 14:05:10 -0400
On Wed, Aug 27, 2008 at 1:48 PM, Kevin Kicklighter
<email@hidden> wrote:
>
> NSDictionary *theError = [[[NSDictionary alloc] init]
> autorelease];
>
> [quitScript executeAndReturnError:&theError];
> }
That still leaks the dictionary you created. Didn't you get my message
about that? You should do this instead:
NSDictionary *theError = nil;
[quitScript executeAndReturnError: &theError];
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________
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