Re: NSImage & memory
Re: NSImage & memory
- Subject: Re: NSImage & memory
- From: j o a r <email@hidden>
- Date: Tue, 17 Jul 2007 19:38:19 +0200
On Jul 17, 2007, at 7:20 PM, Jeremy Rotsztain wrote:
// write image to disk
NSData *tmpImgTIFFData = [ tmpImg TIFFRepresentation ];
You didn't alloc, retain or copy here...
// release data
[ tmpImgTIFFData release ];
...so you shouldn't release here.
j o a r
_______________________________________________
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