android_kernel_oneplus_msm8998/drivers/uwb
Anton Vasilyev e92968792c uwb: hwa-rc: fix memory leak at probe
[ Upstream commit 11b71782c1d10d9bccc31825cf84291cd7588a1e ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-10-10 08:52:04 +02:00
..
i1480 uwb: fix device quirk on big-endian hosts 2017-05-25 14:30:17 +02:00
address.c
allocator.c
beacon.c
driver.c
drp-avail.c
drp-ie.c
drp.c uwb: drp: Use setup_timer 2015-10-24 19:52:53 -07:00
est.c
hwa-rc.c uwb: hwa-rc: fix memory leak at probe 2018-10-10 08:52:04 +02:00
ie-rcv.c
ie.c
Kconfig
lc-dev.c
lc-rc.c uwb: fix device reference leaks 2016-11-26 09:54:53 +01:00
Makefile
neh.c
pal.c uwb: fix device reference leaks 2016-11-26 09:54:53 +01:00
radio.c
reset.c
rsv.c
scan.c
umc-bus.c
umc-dev.c
umc-drv.c
uwb-debug.c
uwb-internal.h
uwbd.c uwb: properly check kthread_run return value 2017-10-12 11:27:35 +02:00
whc-rc.c
whci.c