Skip to content
Commit d350a0f4 authored by Johannes Berg's avatar Johannes Berg
Browse files

nl80211: fix memory leak if validate_pae_over_nl80211() fails



If validate_pae_over_nl80211() were to fail in nl80211_crypto_settings(),
we might leak the 'connkeys' allocation. Fix this.

Fixes: 64bf3d4b ("nl80211: Add CONTROL_PORT_OVER_NL80211 attribute")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent a50e5fb8
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