• 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: Why does this leak memory?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why does this leak memory?


  • Subject: Re: Why does this leak memory?
  • From: Andreas Mayer <email@hidden>
  • Date: Sun, 19 Jan 2003 01:23:01 +0100

Am Samstag, 18.01.03 um 23:27 Uhr schrieb Jamie Curmi:

I figured maybe it was something to do with setting the application icon, or drawing the image. So, I've simplified it down to just the two lines I mailed about, and found that it appears the copy leaks with just the use of copy, followed by a release.

And you are sure there is nothing else in your code that retains the image and doesn't release it?

You could subclass NSImage and override dealloc to see if your copy actually gets deallocated.


bye. Andreas.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Why does this leak memory? (From: Jamie Curmi <email@hidden>)

  • Prev by Date: Re: Why does this leak memory?
  • Next by Date: Re: Warping an image with a Bezier Path
  • Previous by thread: Re: Why does this leak memory?
  • Next by thread: Re: Why does this leak memory?
  • Index(es):
    • Date
    • Thread