Re: Memory leak when setting CALayer name
Re: Memory leak when setting CALayer name
- Subject: Re: Memory leak when setting CALayer name
- From: Gustavo Adolfo Pizano <email@hidden>
- Date: Tue, 24 Mar 2009 08:43:21 +0100
Sorry misclicked the reply and reply all button, posting agan on the
list....
On Tue, Mar 24, 2009 at 8:42 AM, Gustavo Adolfo Pizano <
email@hidden> wrote:
Ok, let me check the M.M rules once again, there must be something wrong
with what im doing.
AFter I need no more of a particular CALayer, Im removing it from the super
layer using the removeFromSuperlayer method.then the NSAutoreleasePoll will
release the CALayer, isn't ?, if no then there is my mistake, and then how
should I properly remove it?
Im gonna try some desperate procedure before posting a bug, Im gonna apply
to the CALayer name to @"whatever name", and see if that leaks also, my
guess, yes.
Thanks
>
> Gustavo
>
>
> On Mon, Mar 23, 2009 at 5:48 PM, David Duncan <email@hidden>wrote:
>
>> On Mar 22, 2009, at 4:19 AM, Gustavo Pizano wrote:
>>
>> So how come Im applying the M.M rules wrongly, what am I missing? :(.
>>>
>>
>>
>> If your applying the memory management rules correctly and your still
>> leaking, then there is probably a bug. You should file one at <
>> http://bugreporter.apple.com/> with a reproducible case so that it can be
>> fixed in the future.
>> --
>> David Duncan
>> Apple DTS Animation and Printing
>>
>>
>
_______________________________________________
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