commit | 57c00f2fac512837f8de73474ec1f54020015bae | [log] [tgz] |
---|---|---|
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | Wed Jun 21 07:45:53 2017 +0200 |
committer | Kalle Valo <kvalo@codeaurora.org> | Tue Jun 27 17:15:45 2017 +0300 |
tree | a66f16ea559fdaa0fb97af70a2a5be37468bf07f | |
parent | dca2307ed6250e7be6993e165570fa4097903a58 [diff] |
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>