Re: Memory leak when re-alloc Methods
Re: Memory leak when re-alloc Methods
- Subject: Re: Memory leak when re-alloc Methods
- From: Mike Manzano <email@hidden>
- Date: Tue, 15 Apr 2008 19:14:23 -0700
Unless you perform [blisterModelClass release] in your NSView's -
dealloc, you are still potentially leaking.
Mike
On Apr 15, 2008, at 5:17 PM, Mario Gajardo Tassara wrote:
El 15-04-2008, a las 14:21, email@hidden
escribió:
I have a nasty leak problem when i realloc several methods of the
main class of my app.
Without seeing your code, all I can suggest is making sure you've
followed these rules:
http://devworld.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Tasks/MemoryManagementRules.html#
--
I.S.
Problem solved !!! ,
I just moved the alloc and init of "blisterModelClass_" from:
[…]
_______________________________________________
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