diff options
author | 2019-03-12 15:03:58 +0800 | |
---|---|---|
committer | 2019-04-04 13:18:42 +0300 | |
commit | 003b686ace820ce2d635a83f10f2d7f9c147dabc (patch) | |
tree | dd7c30277c4446b52d66baa7016355f3f890040e /tools/perf/scripts/python | |
parent | net: mwifiex: fix a NULL pointer dereference (diff) | |
download | wireguard-linux-003b686ace820ce2d635a83f10f2d7f9c147dabc.tar.xz wireguard-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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions