diff options
author | YueHaibing <[email protected]> | 2019-03-12 15:03:58 +0800 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2019-04-04 13:18:42 +0300 |
commit | 003b686ace820ce2d635a83f10f2d7f9c147dabc (patch) | |
tree | dd7c30277c4446b52d66baa7016355f3f890040e /tools/perf/scripts/python/syscall-counts-by-pid.py | |
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 <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions