Re: Why does this leak memory?
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.