diff options
author | 2018-09-25 01:30:29 +0200 | |
---|---|---|
committer | 2018-09-28 15:12:08 +0200 | |
commit | 100f2cdeadffb3e63121d1d59a60a9882258c415 (patch) | |
tree | d63c1b075ce7ced0c363537d0bdf181357fd2877 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: renesas_usbhs: add support for R-Car E3 (diff) | |
download | wireguard-linux-100f2cdeadffb3e63121d1d59a60a9882258c415.tar.xz wireguard-linux-100f2cdeadffb3e63121d1d59a60a9882258c415.zip |
usb: usbtmc: Fix memory leak in usbtmc_ioctl_request
Kernel memory is allocated twice in new function
usbtmc_ioctl_request and creates a memory leak.
This fix removes the superfluous kmalloc().
Signed-off-by: Guido Kiener <guido.kiener@rohde-schwarz.com>
Fixes: 658f24f4523e ("usb: usbtmc: Add ioctl for generic requests on control")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions