summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath11k
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2020-04-27 10:43:48 +0000
committerKalle Valo <kvalo@codeaurora.org>2020-05-04 11:52:07 +0300
commit2326aa011967f0afbcba7fe1a005d01f8b12900b (patch)
treead7bad3fd2c9cb576b6ec24e42034f8b9f766643 /drivers/net/wireless/ath/ath11k
parent69c93f9674c97dc439cdc0527811f8ad104c2e35 (diff)
ath10k: fix possible memory leak in ath10k_bmi_lz_data_large()
'cmd' is malloced in ath10k_bmi_lz_data_large() and should be freed before leaving from the error handling cases, otherwise it will cause memory leak. Fixes: d58f466a5dee ("ath10k: add large size for BMI download data for SDIO") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200427104348.13570-1-weiyongjun1@huawei.com
Diffstat (limited to 'drivers/net/wireless/ath/ath11k')
0 files changed, 0 insertions, 0 deletions