u-boot-brain/drivers/usb
Ralph Siemsen fe876984a4 usb: gadget: f_dfu.c: fix memory leak
dfu_prepare_function() allocates N+1 descriptor header structures,
the last one being the "DFU Functional Descriptor".

dfu_unbind() handles de-allocation, but fails to free the final
one (eg. "DFU Functional Descriptor"), leading to memory leak.

Fixed by incrementing counter, as in dfu_prepare_function().

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
2019-08-08 11:35:02 +02:00
..
common usb: Introduce CONFIG_SPL_DM_USB 2018-11-26 21:19:03 +01:00
dwc3 usb: dwc3: Use UCLASS_NOP instead of UCLASS_MISC for the DWC3 generic glue 2019-07-05 14:19:41 +02:00
emul SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
eth usb: composite: Move bitmap related operations to ./include/linux/bitmap.h 2018-12-14 17:59:08 +01:00
gadget usb: gadget: f_dfu.c: fix memory leak 2019-08-08 11:35:02 +02:00
host usb, ohci, pci: add DM support for PCI-based OHCI USB controller 2019-08-08 11:35:02 +02:00
musb usb: musb_hcd: remove unnecessary ifdefs for dm* SoCs 2019-05-04 13:04:09 -04:00
musb-new usb: musb-new: Add support for da8xx-musb 2019-08-08 11:35:02 +02:00
phy SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ulpi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig usb: Don't enable CONFIG_SPL_DM_USB for non-DM SPL 2018-12-14 17:59:08 +01:00