Don't free ifaces yet, should fix a panic

This commit is contained in:
Warner Losh 2006-03-01 06:31:24 +00:00
parent 61d3a4efc2
commit e8bfdb2a33

View File

@ -435,7 +435,6 @@ typedef struct callout usb_callout_t;
do { \
struct usb_attach_arg *uaap = device_get_ivars(dev); \
device_detach(dev); \
free(uaap->ifaces, M_USB); \
free(uaap, M_USB); \
device_delete_child(device_get_parent(dev), dev); \
} while (0);