Skip to content
Commit 60a0121f authored by Luca Coelho's avatar Luca Coelho Committed by Johannes Berg
Browse files

nl80211: fix memory leak when parsing NL80211_ATTR_HE_BSS_COLOR



If there is an error when parsing the NL80211_ATTR_HE_BSS_COLOR
attribute, we return immediately without freeing param.acl.  Fit it by
using goto out instead of returning immediately.

Fixes: 5c5e52d1 ("nl80211: add handling for BSS color")
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200626124931.7ad2a3eb894f.I60905fb70bd20389a3b170db515a07275e31845e@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent bc7a39b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment