> in probe() you'll do a double free, if allocating
Hm, good catch. It is now fixed. Thanks.
> free allocated urbs in the error case, but set the
> pointers of the device descriptor to NULL.
Why? If alloc_all_urbs() fail we're exiting _probe() with error
code and nothing more happens.
Petkan
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
Sponsored by http://www.ThinkGeek.com/