• 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: Retain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Retain


  • Subject: Re: Retain
  • From: Dave Carrigan <email@hidden>
  • Date: Fri, 24 Oct 2008 08:33:03 -0700


On Oct 24, 2008, at 8:23 AM, Mike Abdullah wrote:

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


To be pedantic, it won't crash right there. It will crash sometime later in a place completely unrelated to the location that you released it.

--
Dave Carrigan
email@hidden
Seattle, WA, USA

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________

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

  • Follow-Ups:
    • Re: Retain
      • From: Mike Abdullah <email@hidden>
References: 
 >Retain (From: Ron Green <email@hidden>)
 >Re: Retain (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: Retain
  • Next by Date: Re: what do you use to make icons and similar?
  • Previous by thread: Re: Retain
  • Next by thread: Re: Retain
  • Index(es):
    • Date
    • Thread