This avoids leaking memory if brcmf_chip_get_raminfo fails. Note thatReviewed-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
the CLM blob is released in the device remove path.
Fixes: 82f93cf46d60 ("brcmfmac: get chip's default RAM info during PCIe setup")
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Signed-off-by: Hector Martin <marcan@xxxxxxxxx>
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c | 2 ++
1 file changed, 2 insertions(+)
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature