diff options
| author | Shuah Khan (Samsung OSG) <shuah@kernel.org> | 2018-05-29 16:13:03 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-06 16:24:31 +0200 |
| commit | 3b14ad7ca75ec8600a73538cc6240be008683585 (patch) | |
| tree | 84d2827598f98a2bee21515f0ea87dbeb03e34b1 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 52941707f789de36db5a12cd4e585a77140d546f (diff) | |
usbip: usbip_detach: Fix memory, udev context and udev leak
[ Upstream commit d179f99a651685b19333360e6558110da2fe9bd7 ]
detach_port() fails to call usbip_vhci_driver_close() from its error
path after usbip_vhci_detach_device() returns failure, leaking memory
allocated in usbip_vhci_driver_open() and holding udev_context and udev
references. Fix it to call usbip_vhci_driver_close().
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
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
