aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorOla Olsson <[email protected]>2015-10-29 07:04:58 +0100
committerJohannes Berg <[email protected]>2015-11-03 10:40:58 +0100
commit4baf6bea37247e59f1971e8009d13aeda95edba2 (patch)
treee64df44ad8496ec39bfd9461a932975c06ab7c51 /lib/netdev-notifier-error-inject.c
parent519ee6918b91abdc4bc9720deae17599a109eb40 (diff)
nl80211: Fix potential memory leak from parse_acl_data
If parse_acl_data succeeds but the subsequent parsing of smps attributes fails, there will be a memory leak due to early returns. Fix that by moving the ACL parsing later. Cc: [email protected] Fixes: 18998c381b19b ("cfg80211: allow requesting SMPS mode on ap start") Signed-off-by: Ola Olsson <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions