diff options
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | 2017-06-21 08:45:53 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-06-27 17:15:45 +0300 |
commit | 57c00f2fac512837f8de73474ec1f54020015bae (patch) | |
tree | a66f16ea559fdaa0fb97af70a2a5be37468bf07f /drivers/spi/spi-bcm63xx.c | |
parent | dca2307ed6250e7be6993e165570fa4097903a58 (diff) | |
download | linux-57c00f2fac512837f8de73474ec1f54020015bae.tar.xz |
brcmfmac: Fix a memory leak in error handling path in 'brcmf_cfg80211_attach'
If 'wiphy_new()' fails, we leak 'ops'. Add a new label in the error
handling path to free it in such a case.
Cc: stable@vger.kernel.org
Fixes: 5c22fb85102a7 ("brcmfmac: add wowl gtk rekeying offload support")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/spi/spi-bcm63xx.c')
0 files changed, 0 insertions, 0 deletions