Re: NSCFNumber, no pool in place - just leaking
Re: NSCFNumber, no pool in place - just leaking
- Subject: Re: NSCFNumber, no pool in place - just leaking
- From: David Rio Vierra <email@hidden>
- Date: Thu, 26 Dec 2002 17:52:07 -1000
You need to have an autorelease pool anytime you use Cocoa objects -
they may attempt to autorelease other objects that you do not know
about.
On Thursday, December 26, 2002, at 05:43 PM, MacInsight wrote:
Hi,
Am Donnerstag, 26.12.02 um 20:30 Uhr schrieb Craig Bakalian:
[snip]
I'd say, you're handling your AutoreleasePools in a proper way;
though, if you don't plan to add any further code between the pool's
allocation/initialization call and the pool's release call, the
AutoreleasePool doesn't seem to be necessary at all, because you're
not adding any objects to it...
Greetings,
Dirk Stegemann
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.