Re: [PATCH] brcmfmac: Fix memory leak in brcmf_usbdev_qinit
From: Kalle Valo
Date: Wed Dec 18 2019 - 14:09:00 EST
Navid Emamdoost <navid.emamdoost@xxxxxxxxx> wrote:
> In the implementation of brcmf_usbdev_qinit() the allocated memory for
> reqs is leaking if usb_alloc_urb() fails. Release reqs in the error
> handling path.
>
> Fixes: 71bb244ba2fd ("brcm80211: fmac: add USB support for bcm43235/6/8 chipsets")
> Signed-off-by: Navid Emamdoost <navid.emamdoost@xxxxxxxxx>
Patch applied to wireless-drivers-next.git, thanks.
4282dc057d75 brcmfmac: Fix memory leak in brcmf_usbdev_qinit
--
https://patchwork.kernel.org/patch/11292553/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches