summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/marvell/libertas
diff options
context:
space:
mode:
authorNavid Emamdoost <navid.emamdoost@gmail.com>2019-09-25 04:20:21 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-31 18:34:49 +0300
commit3717a450f83945c481059a6921440e5e6fe3c856 (patch)
treeaf0cc01234a60df75bec1e3c5c2b21a656bcf442 /drivers/net/wireless/marvell/libertas
parentdd97f971bee39389f60a21ded134c20b06f6e4d8 (diff)
downloadlinux-3717a450f83945c481059a6921440e5e6fe3c856.tar.xz
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 'drivers/net/wireless/marvell/libertas')
0 files changed, 0 insertions, 0 deletions