Memory leak tests, NSZombieEnabled=YES and NSTimer
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.