[ldv-project] [PATCH 1/3] HID: thrustmaster: Fix memory leaks in probe

Jiri Kosina jikos at kernel.org
Fri Aug 20 15:25:30 MSK 2021


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 at ispras.ru>

I've applied all three fixes, thanks.

-- 
Jiri Kosina
SUSE Labs




More information about the ldv-project mailing list