[PATCH v2] usb: gadget: f_acm: Fix memory leak in acm_add

Marek Vasut marek.vasut at mailbox.org
Mon May 11 13:38:02 CEST 2026


On 5/9/26 7:22 PM, Francois Berder 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: Marek Vasut <marek.vasut+usb at mailbox.org>

Thank you


More information about the U-Boot mailing list