]> git.karo-electronics.de Git - linux-beck.git/commit
brcmfmac: fix memory leak in brcmf_flowring_add_tdls_peer()
authorArend Van Spriel <arend.vanspriel@broadcom.com>
Mon, 19 Sep 2016 11:09:53 +0000 (12:09 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 26 Sep 2016 17:35:53 +0000 (20:35 +0300)
commitbc981641360183990de59da17f9f560f9150b801
treec024435bd584368716652efef278db4aed3a9621
parent704d1c6b56f4ee2ad6a5f012a72a278d17c1a223
brcmfmac: fix memory leak in brcmf_flowring_add_tdls_peer()

In the error paths in brcmf_flowring_add_tdls_peer() the allocated
resource should be freed.

Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c