diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-03-12 10:03:58 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-04-04 13:18:42 +0300 |
commit | 003b686ace820ce2d635a83f10f2d7f9c147dabc (patch) | |
tree | dd7c30277c4446b52d66baa7016355f3f890040e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e5b9b206f3f6376b9a1406b67eafe4e7bb9f123c (diff) | |
download | linux-003b686ace820ce2d635a83f10f2d7f9c147dabc.tar.xz |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions