Re: incorrect checksum for freed object
Re: incorrect checksum for freed object
- Subject: Re: incorrect checksum for freed object
- From: Scott Ribe <email@hidden>
- Date: Sat, 01 Aug 2009 12:09:59 -0600
- Thread-topic: incorrect checksum for freed object
> i'm using pointer to pointer (sometimes called handles) because that
> is what is required when using the usb aspects of the IOKit as
> demonstated in apple's sample code.
FYI, Ken's right. The IOUSB stuff is odd-looking. You have instance vars of
type IOxxx**, and then pass the addresses of those into routines that take
IOxxx*** and fill in your IOxxx** and then you do (*iovar)->Function
throughout the code.
Still though, Shawn's basic point is right: Ken is confused about memory
management *somewhere* in his code.
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
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