summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorNavid Emamdoost <navid.emamdoost@gmail.com>2019-09-24 20:20:21 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-04 13:34:05 +0100
commitca4fb6974bb645ebf3352f5bba7699db4b44b75f (patch)
treecdc7f6f01a94396803cac1fe69987ade5a616049 /include/linux
parent15a99cbc09f1e6764aec1d22f68ef2d122dbad22 (diff)
rtlwifi: prevent memory leak in rtl_usb_probe
[ Upstream commit 3f93616951138a598d930dcaec40f2bfd9ce43bb ] In rtl_usb_probe if allocation for usb_data fails the allocated hw should be released. In addition the allocated rtlpriv->usb_data should be released on error handling path. Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions