[PATCH v2] usb: gadget: f_acm: Fix memory leak in acm_add
Mattijs Korpershoek
mkorpershoek at kernel.org
Wed May 13 13:11:38 CEST 2026
Hi,
On Sat, 09 May 2026 19:22:41 +0200, Francois Berder wrote:
> If udc_device_get_by_index fails, the f_acm struct was not released.
> Free it before returning the error.
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu)
[1/1] usb: gadget: f_acm: Fix memory leak in acm_add
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/c8f68234422b8afb516fea2336b678750f10ba5b
--
Mattijs
More information about the U-Boot
mailing list