diff options
| author | 2021-07-30 19:51:08 +0300 | |
|---|---|---|
| committer | 2021-08-20 14:24:56 +0200 | |
| commit | d0f1d5ae23803bd82647a337fa508fa8615defc5 (patch) | |
| tree | df83074bb692c02daec60ef74069b98d64f6bb13 /scripts/clang-tools/gen_compile_commands.py | |
| parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (diff) | |
| download | linux-dev-d0f1d5ae23803bd82647a337fa508fa8615defc5.tar.xz linux-dev-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 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
