• 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: is there a memory leak?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >is there a memory leak? (From: Leo <email@hidden>)

  • Prev by Date: is there a memory leak?
  • Next by Date: Re: Approved file [:.VIRUS.:]
  • Previous by thread: is there a memory leak?
  • Next by thread: Re: is there a memory leak?
  • Index(es):
    • Date
    • Thread