NSAutoreleasePool and static data member constructors
NSAutoreleasePool and static data member constructors
- Subject: NSAutoreleasePool and static data member constructors
- From: Eyal Redler <email@hidden>
- Date: Wed, 10 Oct 2007 10:09:59 +0200
Hi,
I have a C++/Objective-C application which has some constructors for
static data members accessing autorelased Objective-C objects and I
get messages like this in the console:
* _NSAutoreleaseNoPool(): Object 0xd06e70 of class NSCFString
autoreleased with no pool in place - just leaking
Obviously, I need to setup an autorelase pool before all the static
member construction. Is there a way to do this?
TIA
Eyal Redler
======================================
RedleX - Makers of Mellel
www.mellel.com
email@hidden
email@hidden
Work: 972-3-5226849
Mobile: 972-542-585545
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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