mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
145a32fe57
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> |
||
---|---|---|
.. | ||
airo_cs.c | ||
airo.c | ||
airo.h | ||
Kconfig | ||
Makefile |