summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-03-12 15:03:58 +0800
committerKalle Valo <kvalo@codeaurora.org>2019-04-04 13:18:42 +0300
commit003b686ace820ce2d635a83f10f2d7f9c147dabc (patch)
treedd7c30277c4446b52d66baa7016355f3f890040e /include/linux
parente5b9b206f3f6376b9a1406b67eafe4e7bb9f123c (diff)
downloadcachepc-linux-003b686ace820ce2d635a83f10f2d7f9c147dabc.tar.gz
cachepc-linux-003b686ace820ce2d635a83f10f2d7f9c147dabc.zip
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions