Re: Memory leak when re-alloc Methods

2008-04-16 Thread Mario Gajardo Tassara
El 16-04-2008, a las 4:21, [EMAIL PROTECTED] escribió: On Wed, Apr 16, 2008 at 1:17 AM, Mario Gajardo Tassara <[EMAIL PROTECTED]> wrote: El 15-04-2008, a las 14:21, [EMAIL PROTECTED] escribió: I have a nasty leak problem when i realloc several methods of the main class of my app.

Re: Memory leak when re-alloc Methods

2008-04-16 Thread Jonathan del Strother
On Wed, Apr 16, 2008 at 1:17 AM, Mario Gajardo Tassara <[EMAIL PROTECTED]> wrote: > > El 15-04-2008, a las 14:21, [EMAIL PROTECTED] 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 s

Re: Memory leak when re-alloc Methods

2008-04-15 Thread Mike Manzano
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 PROTECTED] escribió: I have a nasty leak problem when i realloc several methods of

Re: Memory leak when re-alloc Methods

2008-04-15 Thread Mario Gajardo Tassara
El 15-04-2008, a las 14:21, [EMAIL PROTECTED] 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/Me

Re: Memory leak when re-alloc Methods

2008-04-15 Thread I. Savant
> 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. __

Re: Memory leak when re-alloc Methods

2008-04-15 Thread Mike R. Manzano
Are you calling release on everything you've alloc'd and retain'd? Mike On Apr 14, 2008, at 4:05 PM, [EMAIL PROTECTED] wrote: Hi and sorry for my bad english. I have a nasty leak problem when i realloc several methods of the main class of my app. I have a button that initiate a series of

Memory leak when re-alloc Methods

2008-04-14 Thread marioegt
Hi and sorry for my bad english. I have a nasty leak problem when i realloc several methods of the main class of my app. I have a button that initiate a series of methods of my Main Model Class for initialize and display sprites. In a NSView, when i alloc the class for the first time every