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

From: Kalle Valo
Date: Tue Oct 01 2019 - 05:20:52 EST


Navid Emamdoost <navid.emamdoost@xxxxxxxxx> 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 <navid.emamdoost@xxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

3f9361695113 rtlwifi: prevent memory leak in rtl_usb_probe

--
https://patchwork.kernel.org/patch/11159885/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches