diff options
author | Chris Chiu <chiu@endlessm.com> | 2020-09-06 12:04:24 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-09-09 10:29:43 +0300 |
commit | 86279456a4d47782398d3cb8193f78f672e36cac (patch) | |
tree | 0080e053e73b050b578b10c270e852d39cdbd293 /drivers/soc | |
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 <chiu@endlessm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200906040424.22022-1-chiu@endlessm.com
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions