diff options
author | Ziyang Xuan <[email protected]> | 2022-11-19 13:19:00 +0800 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2022-11-28 15:56:17 +0200 |
commit | 895b3b06efc285c1245242e9638b9ae251dc13ec (patch) | |
tree | 5201265b68d8bc5e0375be95090a4ed9451727ef /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 3b79d4bad3a0e73d9becb409a5f6112bc61e2c93 (diff) |
wifi: plfxlc: fix potential memory leak in __lf_x_usb_enable_rx()
urbs does not be freed in exception paths in __lf_x_usb_enable_rx().
That will trigger memory leak. To fix it, add kfree() for urbs within
"error" label. Compile tested only.
Fixes: 68d57a07bfe5 ("wireless: add plfxlc driver for pureLiFi X, XL, XC devices")
Signed-off-by: Ziyang Xuan <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions