Re: ImageKit + GC = nogo? (or better... how :D)
Re: ImageKit + GC = nogo? (or better... how :D)
- Subject: Re: ImageKit + GC = nogo? (or better... how :D)
- From: Thomas Goossens <email@hidden>
- Date: Sun, 2 Dec 2007 22:48:49 +0100
Do you see the same memory leak if you use
CGImageSourceCreateWithData() instead of CGImageSourceCreateWithURL()?
I have an application which used CGImageSourceCreateWithURL() and it
always kept the file open even after I had realeased everything. Once
I switched to loading the file into an NSData object and then creating
the CGImageSourceRef every cleaned up nicely.
There is no leak if I use CGImageSourceCreateWithData() instead of
CGImageSourceCreateWithURL().
-- Thomas.
_______________________________________________
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