diff options
| author | Navid Emamdoost <navid.emamdoost@gmail.com> | 2019-12-14 19:51:14 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-14 16:29:55 -0500 |
| commit | ea564d0b59ba8717b0cb874e997da2b259d5795c (patch) | |
| tree | 211de7ada17186f87c0646bfa78cc7899a5c174d /scripts | |
| parent | e0d7c0d9173fe781a3aa5dba6c7503db4e4c0ebe (diff) | |
brcmfmac: Fix memory leak in brcmf_usbdev_qinit
commit 4282dc057d750c6a7dd92953564b15c26b54c22c upstream.
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@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
