• 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: Memory leak when setting CALayer name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Memory leak when setting CALayer name (From: Gustavo Pizano <email@hidden>)
 >Re: Memory leak when setting CALayer name (From: Filip van der Meeren <email@hidden>)
 >Re: Memory leak when setting CALayer name (From: Gustavo Pizano <email@hidden>)
 >Re: Memory leak when setting CALayer name (From: David Duncan <email@hidden>)

  • Prev by Date: Re: Remove action on NSArrayController bound to table causes index beyond bounds
  • Next by Date: Re: De-Mystifying NSCell
  • Previous by thread: Re: Memory leak when setting CALayer name
  • Next by thread: global UIColor
  • Index(es):
    • Date
    • Thread