Re: CIImage drawAtPoint: ...... retains image??
Re: CIImage drawAtPoint: ...... retains image??
- Subject: Re: CIImage drawAtPoint: ...... retains image??
- From: Chris Blackburn <email@hidden>
- Date: Sat, 15 Dec 2007 12:47:07 +0000
Hey,
This is a known bug and has been for some time. Please file another
bug report, preferably with example source code and maybe you'll be
the one who convinces them to fix this.
</rant>
Chris
On 15 Dec 2007, at 07:10, Nik Youdale <email@hidden> wrote:
I'm trying to draw a CIImage in a view, but have come across the
following problem:
CIImage *drawImage;
.......
NSLog(@"draw image retain count: %d", [drawImage retainCount]);
[drawImage drawAtPoint:drawPoint fromRect:drawRect
operation:NSCompositeSourceOver fraction:1.0];
NSLog(@"draw image retain count: %d", [drawImage retainCount]);
NSLog output:
draw image retain count: 1
draw image retain count: 2
after the drawing operation, the retain count of the image is 1
greater than before the drawing call. From what I understand about
memory management... that shouldn't happen?? This is causing massive
leaks in my program.
Any ideas?
Cheers
Nik
_______________________________________________
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
_______________________________________________
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