Re: NSString's "mutableCopy" creating a leak?
Re: NSString's "mutableCopy" creating a leak?
- Subject: Re: NSString's "mutableCopy" creating a leak?
- From: "I. Savant" <email@hidden>
- Date: Wed, 1 Oct 2008 15:56:30 -0400
On Wed, Oct 1, 2008 at 3:34 PM, Christopher J Kemsley <email@hidden> wrote:
> Does anybody know where this leak is coming from?
Yep. Lack of adherence to the 'Cocoa memory management contract':
http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Tasks/MemoryManagementRules.html
> This is an Objective-C/Cocoa based application, compiling for the iPhone
> Simulator with the i386 architecture.
> (Before anybody yells at me saying that the iPhone SDK cannot be discussed
> here, read this: http://developer.apple.com/iphone/program/ )
Okay. Now, before you order people not to yell, read this:
http://www.cocoabuilder.com/archive/message/cocoa/2008/10/1/219152
Well, go on, read it ... :-D
--
I.S.
_______________________________________________
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