Don't free ifaces yet, should fix a panic
This commit is contained in:
parent
61d3a4efc2
commit
e8bfdb2a33
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user