brcmfmac: Fix memory leak for unpaired brcmf_{alloc/free} 63/246263/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 27 Oct 2020 10:23:56 +0000 (19:23 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 27 Oct 2020 10:29:15 +0000 (19:29 +0900)
commitd29f5c328c92a8ff2c4f146348b8035e484f83c5
tree398448a6d5ec6ad32d49e738a8f8b77fcfa7e62f
parent8c1ed0f9b49eaaabd954266981c95c4cfd35bf49
brcmfmac: Fix memory leak for unpaired brcmf_{alloc/free}

There are missig brcmf_free() for brcmf_alloc(). Fix memory leak
by adding missed brcmf_free().

Change-Id: I050398a7b828b0fb2aadbe491f353b3d3c47bdd6
Reported-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c