Re: is there a memory leak?
Re: is there a memory leak?
- Subject: Re: is there a memory leak?
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 20 Nov 2006 00:50:29 -0700
On Nov 20, 2006, at 12:34 AM, Leo wrote:
when using mallocDebug to test this method and it displayed there is a
leak in "[[NSString alloc] initWithContentsOfFile:filename
encoding:encoding error:&error] ", does anybody can tell me why ?
You didn't release stringFromFileAtPath.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden