[SeaBIOS] [PATCH 2/4] usb: don't free usbdev
Gerd Hoffmann
kraxel at redhat.com
Wed Aug 21 15:20:21 CEST 2013
xhci needs them even after completing device initialization. xhci must
to walk up the chain to the root port and the usbdevs (of usb hubs) are
part of it.
---
src/usb.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/usb.c b/src/usb.c
index 42541ff..808f426 100644
--- a/src/usb.c
+++ b/src/usb.c
@@ -378,7 +378,6 @@ usb_hub_port_setup(void *data)
hub->devcount += count;
done:
hub->threads--;
- free(usbdev);
return;
resetfail:
--
1.8.3.1
More information about the SeaBIOS
mailing list