linux/drivers/net/wireless/cisco
Wenwen Wang 145a32fe57 airo: fix memory leaks
In proc_BSSList_open(), 'file->private_data' is allocated through kzalloc()
and 'data->rbuffer' is allocated through kmalloc(). In the following
execution, if an error occurs, they are not deallocated, leading to memory
leaks. To fix this issue, free the allocated memory regions before
returning the error.

Signed-off-by: Wenwen Wang <wenwen@cs.uga.edu>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2019-09-03 16:39:33 +03:00
..
Kconfig airo: switch to skcipher interface 2019-06-25 08:12:20 +03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
airo.c airo: fix memory leaks 2019-09-03 16:39:33 +03:00
airo.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
airo_cs.c airo: remove unused variables len and dev and clean up formatting 2018-07-31 10:17:19 +03:00