Re: Simple memory problem
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