I've done stuff like this by accident but doesn't it actually crash later on when the auto release pool runs to release memory and not actually at the release?

This is a good use of NSZombies if you have strange crashes.

Devon

Mike Abdullah wrote:


BUT NOT:

NSString w = [NSString stringWithFormat:@"something %i", x];
// Do stuff
[w release];    // Will crash here


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to