linux/drivers/staging/rtlwifi
Colin Ian King 2ffabf50bd staging: r8822be: fix memory leak of eeprom_map on error exit return
A memory leak of eeprom_map occurs if the call to halmac_eeprom_parser_88xx
fails. Fix this by kfree'ing it before returning.

Detected by CoverityScan, CID#1454569 ("Resource leak")
Fixes: 938a0447f0 ("staging: r8822be: Add code for halmac sub-driver")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-28 10:27:28 +02:00
..
btcoexist staging: rtlwifi: simplify logical operation 2017-08-23 16:27:07 -07:00
halmac staging: r8822be: fix memory leak of eeprom_map on error exit return 2017-08-28 10:27:28 +02:00
phydm staging: r8822be: Add phydm mini driver 2017-08-20 11:13:12 -07:00
rtl8822be staging: rtlwifi: Reviewers fixes 2017-08-20 11:13:12 -07:00
base.c staging: rtlwifi: check for array overflow 2017-08-28 10:16:57 +02:00
base.h
cam.c
cam.h
core.c
core.h
debug.c staging: rtlwifi: Improve debugging by using debugfs 2017-08-28 10:16:57 +02:00
debug.h
efuse.c
efuse.h
Kconfig staging: rtlwifi: add MAC80211 dependency 2017-08-23 16:29:09 -07:00
Makefile staging: r8822be: Add Makefiles and Kconfig for new driver 2017-08-20 11:13:12 -07:00
pci.c
pci.h
ps.c
ps.h
pwrseqcmd.h
rc.c
rc.h
regd.c
regd.h
stats.c
stats.h
TODO staging: rtlwifi: Reviewers fixes 2017-08-20 11:13:12 -07:00
wifi.h