aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/uwb/lc-rc.c
diff options
context:
space:
mode:
authorAnton Vasilyev <vasilyev@ispras.ru>2018-07-06 15:32:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-06 16:36:19 +0200
commit11b71782c1d10d9bccc31825cf84291cd7588a1e (patch)
tree07624b9cabbba9b7a50501024422832921fcd443 /drivers/uwb/lc-rc.c
parentusb: typec: fix dereference before null check on adev (diff)
downloadlinux-dev-11b71782c1d10d9bccc31825cf84291cd7588a1e.tar.xz
linux-dev-11b71782c1d10d9bccc31825cf84291cd7588a1e.zip
uwb: hwa-rc: fix memory leak at probe
hwarc_probe() allocates memory for hwarc, but does not free it if uwb_rc_add() or hwarc_get_version() fail. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uwb/lc-rc.c')
0 files changed, 0 insertions, 0 deletions