• 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 re-alloc Methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Memory leak when re-alloc Methods (From: Mario Gajardo Tassara <email@hidden>)

  • Prev by Date: Re: Getting selection of IKImageView?
  • Next by Date: Re: binary search trees & binning
  • Previous by thread: Re: Memory leak when re-alloc Methods
  • Next by thread: Re: Memory leak when re-alloc Methods
  • Index(es):
    • Date
    • Thread