+5
−2
Loading
When usb_submit_urb() fails in usbio_probe(), the previously allocated URB is never freed, causing a memory leak. Fix this by jumping to err_free_urb label to properly release the URB on the error path. Fixes: 121a0f83 ("usb: misc: Add Intel USBIO bridge driver") Cc: stable <stable@kernel.org> Signed-off-by:Felix Gu <ustc.gu@gmail.com> Reviewed-by:
Oliver Neukum <oneukum@suse.com> Reviewed-by:
Hans de Goede <johannes.goede@oss.qualcomm.com> Link: https://patch.msgid.link/20260331-usbio-v2-1-d8c48dad9463@gmail.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>