"If all the code you're using is present, it looks to
me like you're not releasing the object pointed at by
image; the object returned by imageWithData is not an
auto-released object."

I just checked documentation
(http://developer.apple.com/documentation/GraphicsImaging/Reference/QuartzCoreFramework/Classes/CIImage_Class/Reference/Reference.html#//apple_ref/occ/clm/CIImage/imageWithData:)
and it does not mention that a convenience method
+imageWithData: would return a retained object. And
there is -initWithData: which I think implies that as
with other Cocoa and similar frameworks based on ObjC
+somethingWithSometingOther: returns an autoreleased
instance while -initWithSomethingOther: is an
initializer returning non-autoreleased instance. If
this is different for CIImage it should be mentioned
in the docs.

Gorazd



      Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to