On Mon, Jan 19, 2009 at 11:39 PM, nik heger <[email protected]> wrote:
> I figured out how to make this code "work" but I still don't know what the
> problem was. Can someone enlighten me?

+dataWithBytesNoCopy:length: is not +alloc.  Therefore you don't own
it.  If you turn around and release it, you are violating the memory
management rules.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list ([email protected])

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