diff options
author | Evgeny Novikov <novikov@ispras.ru> | 2021-07-30 18:51:08 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2021-08-20 14:24:56 +0200 |
commit | d0f1d5ae23803bd82647a337fa508fa8615defc5 (patch) | |
tree | df83074bb692c02daec60ef74069b98d64f6bb13 /.mailmap | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid... (diff) | |
download | linux-d0f1d5ae23803bd82647a337fa508fa8615defc5.tar.xz linux-d0f1d5ae23803bd82647a337fa508fa8615defc5.zip |
HID: thrustmaster: Fix memory leaks in probe
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@ispras.ru>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions