]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: Fix possible memleak in ath11k_qmi_init_service
authorWang Yufen <wangyufen@huawei.com>
Mon, 20 Jul 2020 09:36:44 +0000 (17:36 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 18 Aug 2020 09:51:25 +0000 (12:51 +0300)
commit28549e8c2837d0a917490da783fba54ace245b3f
tree015e4988114a83ccd87c03725f8257a631ee6d52
parent1371e4b4a798f78a415c517b57ee3bd806e5849c
ath11k: Fix possible memleak in ath11k_qmi_init_service

When qmi_add_lookup fail, we should destroy the workqueue

Fixes: 8d15e0365d69 ("ath11k: driver for Qualcomm IEEE 802.11ax devices")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Yufen <wangyufen@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1595237804-66297-1-git-send-email-wangyufen@huawei.com
drivers/net/wireless/ath/ath11k/qmi.c