linux/drivers/net/wireless/rsi
Christian Engelmayer a8b9774571 rsi: Fix possible leak when loading firmware
Commit 5d5cd85ff4 ("rsi: Fix failure to load firmware after memory
leak fix and fix the leak") also added a check on the allocation of
DMA-accessible memory that may directly return. In that case the
already allocated firmware data is leaked. Make sure the data is
always freed correctly. Detected by Coverity CID 1316519.

Fixes: 5d5cd85ff4 ("rsi: Fix failure to load firmware after memory leak fix and fix the leak")
Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2015-08-25 15:37:41 +03:00
..
Kconfig
Makefile
rsi_91x_core.c rsi: Fixed warnings reported by static code analyzers. 2014-06-25 15:40:41 -04:00
rsi_91x_debugfs.c rsi: Mapping the debugfs stats to the correct s/w queues. 2014-06-19 15:49:21 -04:00
rsi_91x_mac80211.c mac80211: convert HW flags to unsigned long bitmap 2015-06-10 16:05:36 +02:00
rsi_91x_main.c rsi: Add pr_fmt,__printf, fix format & arg mismatch 2014-03-19 15:15:47 -04:00
rsi_91x_mgmt.c rsi: Fixed errors and warnings reported by static code analyzers. 2014-06-25 15:40:40 -04:00
rsi_91x_pkt.c rsi: Changes for 40MHz 2014-06-19 15:49:23 -04:00
rsi_91x_sdio_ops.c rsi: Fix possible leak when loading firmware 2015-08-25 15:37:41 +03:00
rsi_91x_sdio.c rsi_91x_sdio: add error handling into rsi_module_init() 2014-06-19 15:49:16 -04:00
rsi_91x_usb_ops.c rsi: Fix possible leak when loading firmware 2015-08-25 15:37:41 +03:00
rsi_91x_usb.c rsi: fix memory leaks and error handling in rsi_91x_usb 2014-07-01 14:26:26 -04:00
rsi_boot_params.h
rsi_common.h rsi: avoid format string leak to thread name 2014-05-29 13:08:10 -04:00
rsi_debugfs.h
rsi_main.h rsi: Adding support for host based bgscan. 2014-06-19 15:49:23 -04:00
rsi_mgmt.h rsi: Adding support for host based bgscan. 2014-06-19 15:49:23 -04:00
rsi_sdio.h rsi: Changed the SDIO interrupt variables and some clean up. 2014-06-19 15:49:22 -04:00
rsi_usb.h