Deleted Added
full compact
1c1
< /* $FreeBSD: head/sys/dev/usb/usb_generic.c 250201 2013-05-03 07:44:58Z hselasky $ */
---
> /* $FreeBSD: head/sys/dev/usb/usb_generic.c 250207 2013-05-03 11:10:04Z hselasky $ */
691c691
< if (cdesc == NULL) {
---
> if (cdesc == NULL)
693d692
< }
696a696
> #if (USB_HAVE_FIXED_CONFIG == 0)
698,699c698
< NULL, &cdesc, M_USBDEV,
< ugd->ugd_config_index)) {
---
> NULL, &cdesc, ugd->ugd_config_index)) {
702a702,705
> #else
> /* configuration descriptor data is shared */
> return (EINVAL);
> #endif
716,718c719,721
< if (free_data) {
< free(cdesc, M_USBDEV);
< }
---
> if (free_data)
> usbd_free_config_desc(udev, cdesc);
>