diff options
author | 2017-06-21 07:45:53 +0200 | |
---|---|---|
committer | 2017-06-27 17:15:45 +0300 | |
commit | 57c00f2fac512837f8de73474ec1f54020015bae (patch) | |
tree | a66f16ea559fdaa0fb97af70a2a5be37468bf07f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | brcmfmac: fix double free upon register_netdevice() failure (diff) | |
download | wireguard-linux-57c00f2fac512837f8de73474ec1f54020015bae.tar.xz wireguard-linux-57c00f2fac512837f8de73474ec1f54020015bae.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions