diff options
author | Alexey Khoroshilov | 2014-01-10 22:22:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-01-11 21:52:42 +0100 |
commit | b76ed59f75d646466eaf60cd73aa4d935ff7dbef (patch) | |
tree | 3567c9f5f676d084a634fd572283668e615a8218 /Documentation/devices.txt | |
parent | Staging: comedi: amcc_s5933: "no space before tabs" coding style fixes. (diff) | |
download | kernel-qcow2-linux-b76ed59f75d646466eaf60cd73aa4d935ff7dbef.tar.gz kernel-qcow2-linux-b76ed59f75d646466eaf60cd73aa4d935ff7dbef.tar.xz kernel-qcow2-linux-b76ed59f75d646466eaf60cd73aa4d935ff7dbef.zip |
staging: wlan-ng: fix leaks on failure paths in prism2sta_probe_usb()
There are leaks of resources allocated by wlan_setup() and usb_dev refcnt
on failure paths in prism2sta_probe_usb().
The patch adds appropriate deallocations and removes invalid code
from hfa384x_corereset() failure handling.
unregister_wlandev() is wrong because it is not registered yet.
hfa384x_destroy() is just noop in init state.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devices.txt')
0 files changed, 0 insertions, 0 deletions