summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorChris Chiu <chiu@endlessm.com>2020-09-06 12:04:24 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-29 09:03:10 +0100
commita8270abd5a593ca05b161dad0bacb436807a6528 (patch)
tree86a1198b1ac4b4893f897a3dd8b3e8f5f8fc8b07 /tools/perf/scripts/python/syscall-counts.py
parentb36b70f750f14f0cfbcd2816d03c34fa056b93e5 (diff)
rtl8xxxu: prevent potential memory leak
[ Upstream commit 86279456a4d47782398d3cb8193f78f672e36cac ] 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 Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions