diff options
author | Jesper Juhl <jj@chaosbits.net> | 2012-04-11 22:41:36 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-04-13 14:42:15 +0300 |
commit | ae9a3405fd28ce05dc3d0b51d541fd5ec742b3b4 (patch) | |
tree | 7d6a5f2c899149a9b9af2e19611b3bfaebb8def0 /drivers/net/wireless/ath/ath6kl/sdio.c | |
parent | 6146ca69031e3ad697d801e7e242b554d7969de1 (diff) | |
download | linux-ae9a3405fd28ce05dc3d0b51d541fd5ec742b3b4.tar.bz2 |
ath6kl: fix memory leak in ath6kl_fwlog_block_read()
If, in
drivers/net/wireless/ath/ath6kl/debug.c::ath6kl_fwlog_block_read(),
the call to wait_for_completion_interruptible() returns -ERESTARTSYS
then we'll return without freeing the (as yet unused) memory we
allocated for 'buf' - thus leaking it.
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/sdio.c')
0 files changed, 0 insertions, 0 deletions