commit | 003b686ace820ce2d635a83f10f2d7f9c147dabc | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Tue Mar 12 15:03:58 2019 +0800 |
committer | Kalle Valo <kvalo@codeaurora.org> | Thu Apr 04 13:18:42 2019 +0300 |
tree | dd7c30277c4446b52d66baa7016355f3f890040e | |
parent | e5b9b206f3f6376b9a1406b67eafe4e7bb9f123c [diff] |
mwifiex: Fix mem leak in mwifiex_tm_cmd 'hostcmd' is alloced by kzalloc, should be freed before leaving from the error handling cases, otherwise it will cause mem leak. Fixes: 3935ccc14d2c ("mwifiex: add cfg80211 testmode support") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>