1
0
Fork 0
remarkable-linux/drivers/uwb
Anton Vasilyev c1a630680c uwb: hwa-rc: fix memory leak at probe
[ Upstream commit 11b71782c1 ]

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-03 17:00:46 -07:00
..
i1480 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
address.c
allocator.c
beacon.c
driver.c
drp-avail.c
drp-ie.c
drp.c
est.c
hwa-rc.c uwb: hwa-rc: fix memory leak at probe 2018-10-03 17:00:46 -07:00
ie-rcv.c
ie.c
lc-dev.c
lc-rc.c
neh.c
pal.c
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-09-18 11:28:23 +02:00
whc-rc.c
whci.c