• 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: RS: autorelease with no pool in place
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RS: autorelease with no pool in place


  • Subject: Re: RS: autorelease with no pool in place
  • From: Chris Hanson <email@hidden>
  • Date: Sat, 12 May 2007 14:17:43 -0700

On May 12, 2007, at 2:08 PM, Roland Silver wrote:

I create an autorelease pool called "mainPool" as early as possible in my project, and release it as late as possible.
Yet I'm getting a bunch of error messages like
(): Object 0x38f240 of class NSCFArray autoreleased with no pool in place - just leaking


Apparently object 0x38f240 is created before mainPool, but where? and how could I deal with the problem?

Do you have any +load methods in your codebase? How about statically- allocated C++ objects that wind up invoking Objective-C code from their constructors? Or a library initialization routine?


  -- Chris


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >RS: autorelease with no pool in place (From: Roland Silver <email@hidden>)

  • Prev by Date: Re: Linking error on "release" build -- undefined symbols
  • Next by Date: Re: What Happens When a Nib File is Loaded
  • Previous by thread: RS: autorelease with no pool in place
  • Next by thread: Re: RS: autorelease with no pool in place
  • Index(es):
    • Date
    • Thread