Skip to content
Commit 3f936169 authored by Navid Emamdoost's avatar Navid Emamdoost Committed by Kalle Valo
Browse files

rtlwifi: prevent memory leak in rtl_usb_probe



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: default avatarNavid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 6e7d5977
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment