diff options
| author | Chris Chiu <[email protected]> | 2020-09-06 12:04:24 +0800 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2020-09-09 10:29:43 +0300 |
| commit | 86279456a4d47782398d3cb8193f78f672e36cac (patch) | |
| tree | 0080e053e73b050b578b10c270e852d39cdbd293 /tools/perf/scripts/python/flamegraph.py | |
| parent | 587231ee81d63f31560220d3d01162037c0eb7f1 (diff) | |
rtl8xxxu: prevent potential memory leak
Free the skb if usb_submit_urb fails on rx_urb. And free the urb
no matter usb_submit_urb succeeds or not in rtl8xxxu_submit_int_urb.
Signed-off-by: Chris Chiu <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions