Skip to content
Commit c3800eed authored by Evgeny Novikov's avatar Evgeny Novikov Committed by Jiri Kosina
Browse files

HID: thrustmaster: Fix memory leak in thrustmaster_interrupts()



thrustmaster_interrupts() does not free memory for send_buf when
usb_interrupt_msg() fails. This is fixed by the given patch.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: default avatarEvgeny Novikov <novikov@ispras.ru>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent df3a97bd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment