• 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
Memory leak tests, NSZombieEnabled=YES and NSTimer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Memory leak tests, NSZombieEnabled=YES and NSTimer


  • Subject: Memory leak tests, NSZombieEnabled=YES and NSTimer
  • From: Stéphane Sudre <email@hidden>
  • Date: Thu, 4 Oct 2001 14:36:12 +0200

Can NSZombieEnabled=YES; prevent the autorelease pool to work ?

I'm currently testing memory leaks with MallocDebug and I'm a little surprised by the result.

When a method is called from a NSTimer callback, does it need to contain a private autorelease pool ?

I'm getting leaks in [NSString sizeWithAttributes: ]; for instance.


  • Follow-Ups:
    • Re: Memory leak tests, NSZombieEnabled=YES and NSTimer
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: Re: <no subject>
  • Next by Date: Re: ANN: XRay 1.0b2 avaliable for download
  • Previous by thread: Re: (no subject)
  • Next by thread: Re: Memory leak tests, NSZombieEnabled=YES and NSTimer
  • Index(es):
    • Date
    • Thread