[PATCH v2] usb: gadget: f_acm: Fix memory leak in acm_add
Mattijs Korpershoek
mkorpershoek at kernel.org
Mon May 11 11:02:25 CEST 2026
Hi Francois,
Thank you for the patch.
On Sat, May 09, 2026 at 19:22, Francois Berder <fberder at outlook.fr> wrote:
> If udc_device_get_by_index fails, the f_acm struct was not released.
> Free it before returning the error.
>
> Signed-off-by: Francois Berder <fberder at outlook.fr>
Reviewed-by: Mattijs Korpershoek <mkorpershoek at kernel.org>
> ---
More information about the U-Boot
mailing list