Re: [PATCH] rtlwifi: prevent memory leak in rtl_usb_probe

2019-10-01 Thread Kalle Valo
Navid Emamdoost wrote: > 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 Patch applied to wireless-drivers-next.git, thanks. 3f9

[PATCH] rtlwifi: prevent memory leak in rtl_usb_probe

2019-09-24 Thread Navid Emamdoost
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 --- drivers/net/wireless/realtek/rtlwifi/usb.c | 5 - 1 file changed, 4 insertions(+),