summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorZhengchao Shao <shaozhengchao@huawei.com>2022-12-08 20:14:48 +0800
committerKalle Valo <kvalo@kernel.org>2022-12-14 14:22:22 +0200
commit16a03958618fb91bb1bc7077cf3211055162cc2f (patch)
tree25b70b1e900c5aad06f7f0ec942cdf072cb9cf09 /tools/perf/scripts/python/export-to-postgresql.py
parent0c1528675d7a9787cb516b64d8f6c0f6f8efcb48 (diff)
wifi: libertas: fix memory leak in lbs_init_adapter()
When kfifo_alloc() failed in lbs_init_adapter(), cmd buffer is not released. Add free memory to processing error path. Fixes: 7919b89c8276 ("libertas: convert libertas driver to use an event/cmdresp queue") Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20221208121448.2845986-1-shaozhengchao@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions