diff options
author | 2021-09-27 13:44:03 +0200 | |
---|---|---|
committer | 2021-09-27 15:32:54 +0200 | |
commit | 05075fe7455a210769b266e62a0040ddc98b2739 (patch) | |
tree | 8079b13909d5f95d9b188788dbed5860b72cb994 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | cfg80211: always free wiphy specific regdomain (diff) | |
download | wireguard-linux-05075fe7455a210769b266e62a0040ddc98b2739.tar.xz wireguard-linux-05075fe7455a210769b266e62a0040ddc98b2739.zip |
nl80211: don't kfree() ERR_PTR() value
When parse_acl_data() fails, we get an ERR_PTR() value and
then "goto out;", in this case we'd attempt to kfree() it.
Fix that.
Fixes: 9e263e193af7 ("nl80211: don't put struct cfg80211_ap_settings on stack")
Link: https://lore.kernel.org/r/20210927134402.86c5ae06c952.Ic51e234d998b9045665e5ff8b6db7e29f25d70c0@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions