diff options
author | Zhengchao Shao <[email protected]> | 2022-12-08 20:14:48 +0800 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2022-12-14 14:22:22 +0200 |
commit | 16a03958618fb91bb1bc7077cf3211055162cc2f (patch) | |
tree | 25b70b1e900c5aad06f7f0ec942cdf072cb9cf09 /tools/perf/scripts/python | |
parent | 0c1528675d7a9787cb516b64d8f6c0f6f8efcb48 (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 <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions