Re: [PATCH 1/3] HID: thrustmaster: Fix memory leaks in probe

From: Jiri Kosina
Date: Fri Aug 20 2021 - 08:25:40 EST


On Fri, 30 Jul 2021, Evgeny Novikov wrote:

> When thrustmaster_probe() handles errors of usb_submit_urb() it does not
> free allocated resources and fails. The patch fixes that.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Evgeny Novikov <novikov@xxxxxxxxx>

I've applied all three fixes, thanks.

--
Jiri Kosina
SUSE Labs