• 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: [OT] [RANT]NSEnumerator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >[OT] [RANT]NSEnumerator (From: Isaac Sherman <email@hidden>)

  • Prev by Date: [OT] [RANT]NSEnumerator
  • Next by Date: Avoiding bouncing up when resizing
  • Previous by thread: [OT] [RANT]NSEnumerator
  • Next by thread: Re: [OT] [RANT]NSEnumerator
  • Index(es):
    • Date
    • Thread