summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorShuah Khan (Samsung OSG) <shuah@kernel.org>2018-05-29 16:13:03 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-31 12:44:39 +0200
commitd179f99a651685b19333360e6558110da2fe9bd7 (patch)
treef1e392a64d7d3ca93cb6dc3726dd6d78e1f788e9 /Kconfig
parentedf380046b0a726de26fc29015556a11288940ac (diff)
downloadlwn-d179f99a651685b19333360e6558110da2fe9bd7.tar.gz
lwn-d179f99a651685b19333360e6558110da2fe9bd7.zip
usbip: usbip_detach: Fix memory, udev context and udev leak
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>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions