Re: [OT] [RANT]NSEnumerator
Re: [OT] [RANT]NSEnumerator
- Subject: Re: [OT] [RANT]NSEnumerator
- From: Thomas Deniau <email@hidden>
- Date: Fri, 01 Feb 2002 07:29:03 +0100
Le 1/02/02 6:04, Isaac Sherman disait :
>
//here is the output
>
>
2002-01-31 23:49:52.878 Testing[584] *** _NSAutoreleaseNoPool(): Object
>
0x72120 of class NSIdEnumerator autoreleased with no pool in place - just
>
leaking
Add a
NSAutoreleasePool *pool=[[NSAutoreleasePool alloc] init];
at the start of main()
and
[pool release];
at the end.
PS : there are lots of extra retains in your code.
--
Thomas Deniau