Hi I\'m usuing [NSThread detachNewThreadSelector:toTarget:withObject:] and I\'m getting a lot of memory leaks because I have no autorelease pool set up for the detached thr
in the method you call with the thread... i.e. given this...
[NSThread detachNewThreadSelector:@selector(doStuff) toTarget:self withObject:nil];
Your method would be...
- (void)doStuff { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; //Do stuff [pool release]; }