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

Re: Simple memory problem


  • Subject: Re: Simple memory problem
  • From: Scott Ribe <email@hidden>
  • Date: Fri, 06 Feb 2009 09:31:36 -0600
  • Thread-topic: Simple memory problem

> Its fairly clear in this situation that the original 'inputString' is
> not wanted and needs to die...

No, it is not. There could be any number of other variables in your program
holding pointers to the same object. You know there are not, but the
compiler does not know that.

--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


_______________________________________________

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

References: 
 >Re: Simple memory problem (From: harry greenmonster <email@hidden>)

  • Prev by Date: Re: Relaunching App Programmatically - Terminal Window Shows up
  • Next by Date: RE: NSTableView and DataSource problem
  • Previous by thread: Re: Simple memory problem
  • Next by thread: Re: Simple memory problem
  • Index(es):
    • Date
    • Thread