coreboot-kgpe-d16/payloads/libpayload/drivers/usb
Patrick Rudolph 1fea734e54 libpayload/drivers/usb: Fix leaks
Don't leak buffers on device detach.

Tested on qemu using:
qemu-system-x86_64 -bios build/coreboot.rom -M pc -m 2048 -usb \
 -device usb-ehci,id=ehci -device usb-mouse -device usb-audio,bus=usb-bus.0 \
 -device usb-bt-dongle,bus=usb-bus.0 -device usb-kbd

Change-Id: Ib2d80dd4590aa0dacdf2da3b614c6505c931d0be
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/23689
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2018-10-01 16:58:29 +00:00
..
Kconfig
TODO
dwc2.c
dwc2.h
dwc2_private.h
dwc2_rh.c
ehci.c payloads/libpayload: Add spaces around '==' 2018-05-02 07:59:14 +00:00
ehci.h
ehci_private.h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
ehci_rh.c
generic_hub.c libpayload/generic_hub: Detect port disconnect after reset 2018-07-17 20:38:46 +00:00
generic_hub.h
ohci.c payloads/libpayload: Add spaces around '==' 2018-05-02 07:59:14 +00:00
ohci.h
ohci_private.h libpayload/drivers/usb/ohci_private.h: Add parentheses around macro 2018-04-29 18:13:08 +00:00
ohci_rh.c
quirks.c
uhci.c
uhci.h
uhci_private.h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
uhci_rh.c
usb.c libpayload/drivers/usb: Fix leaks 2018-10-01 16:58:29 +00:00
usb_dev.c libpayload/drivers/usb: Fix leaks 2018-10-01 16:58:29 +00:00
usbhid.c libpayload/drivers/usb: Fix leaks 2018-10-01 16:58:29 +00:00
usbhub.c libpayload: usbhub: Force enumeration of all connected ports on init 2017-03-15 00:54:23 +01:00
usbinit.c
usbmsc.c Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
xhci.c libpayload/drivers/usb/xhci: Replace raw values with constants 2018-08-08 21:57:22 +00:00
xhci.h
xhci_commands.c
xhci_debug.c
xhci_devconf.c
xhci_events.c
xhci_private.h libpayload/xhci: Document struct offsets on xhci_t 2018-07-16 07:43:50 +00:00
xhci_rh.c libpayload: Add UNKNOWN_SPEED to usb_speed enum 2018-07-17 15:23:36 +00:00