diff options
author | 2021-07-30 19:51:08 +0300 | |
---|---|---|
committer | 2021-08-20 14:24:56 +0200 | |
commit | d0f1d5ae23803bd82647a337fa508fa8615defc5 (patch) | |
tree | df83074bb692c02daec60ef74069b98d64f6bb13 /tools/perf/scripts/python/export-to-postgresql.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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions