Re: Problems with isEqualToString
Re: Problems with isEqualToString
- Subject: Re: Problems with isEqualToString
- From: Jonathan Feinberg <email@hidden>
- Date: Sat, 23 Mar 2002 11:37:33 -0800
At 11:22 AM -0800 3/23/02, Ben Mackin wrote:
[[NSFileManager alloc] removeFileAtPath:@"/tmp/errorCode" handler:nil];
This is an error. You should be using
[NSFileManager defaultManager]
and not
[NSFileManager alloc]
which leaks an uninitialized NSFileManager.
--
Jonathan Feinberg email@hidden Inwood, NY, NY
http://MrFeinberg.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.