diff options
author | 2021-10-01 21:11:08 +0200 | |
---|---|---|
committer | 2021-10-21 16:54:04 +0200 | |
commit | 8223ac199a3849257e86ec27865dc63f034b1cf1 (patch) | |
tree | e7e391484c4dbe8592e4c8da300442f4a8ec5be1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | cfg80211: prepare for const netdev->dev_addr (diff) | |
download | wireguard-linux-8223ac199a3849257e86ec27865dc63f034b1cf1.tar.xz wireguard-linux-8223ac199a3849257e86ec27865dc63f034b1cf1.zip |
mac80211: fix memory leaks with element parsing
My previous commit 5d24828d05f3 ("mac80211: always allocate
struct ieee802_11_elems") had a few bugs and leaked the new
allocated struct in a few error cases, fix that.
Fixes: 5d24828d05f3 ("mac80211: always allocate struct ieee802_11_elems")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20211001211108.9839928e42e0.Ib81ca187d3d3af7ed1bfeac2e00d08a4637c8025@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