Re: Memory Management
Re: Memory Management
- Subject: Re: Memory Management
- From: Marcel Weiher <email@hidden>
- Date: Thu, 31 Jul 2003 02:16:44 +0100
I would like to see someone prove to me in working code, that adding
an object to an autorelease pool does not guarantee that it will live
at least until the pool is purged.
int main( int argc, char *argv[] )
{
id pool=[NSAutoreleasePool new];
id string = [NSMutableString stringWithFormat:@"Hello World: %d",argc];
[string dealloc];
exit(0);
}
;-)
Marcel
--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
1d480c25f397c4786386135f8e8938e4
_______________________________________________
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.