summaryrefslogtreecommitdiff
path: root/drivers/gpu
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-30 10:38:31 +0100
commitf98cea40fa21884ba2811a0be419f386322381eb (patch)
treeb36c5757d352a9ac4b9549304dd3902fc944cdce /drivers/gpu
parenta92781c83f3e08e6444227c9f7a2937516155eb3 (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 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions