From 1d823bfa306c8b22899f10deae2f0d43420d35f1 Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 1 Mar 2006 06:31:24 +0000 Subject: [PATCH] Don't free ifaces yet, should fix a panic --- sys/dev/usb/usb_port.h | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h index 194ac5191bc8..296126e02269 100644 --- a/sys/dev/usb/usb_port.h +++ b/sys/dev/usb/usb_port.h @@ -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);