Hello, Im having a leak, (showed up by instruments), I was able to detect that its appearing when doing this:
[dLayer setName:[[shipaux class]description]];
and I have 4 more layers where Im  doing that procedure.
After doing a drag and drop Im just removing the CALayer from the superlayer, but I dunno then how to release it, if I created them as following:
        dLayer = [CALayer layer];
        cLayer = [CALayer layer];
        sLayer = [CALayer layer];
        fLayer = [CALayer layer];
        aLayer = [CALayer layer];

if I call release on any of them, the program crash.

how can I solve this situation.. its like the leak its not big, its a NSString x 5, 32Bytes each, but I like my program to be leaks free.

Thanks a lot.


Gustavo Pizano
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to