commit | 7d998f6b7365d50a9905bf57fd28b41c7ebe8e9d | [log] [tgz] |
---|---|---|
author | Johannes Berg <[email protected]> | Thu Oct 13 20:16:00 2022 +0200 |
committer | Greg Kroah-Hartman <[email protected]> | Sat Oct 15 07:59:05 2022 +0200 |
tree | 95d3c67aadbf227658dce48841d86b324570486d | |
parent | fee48f3bdd7516bb63da507213916227cf147211 [diff] |
mac80211: fix memory leaks with element parsing commit 8223ac199a3849257e86ec27865dc63f034b1cf1 upstream. 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 <[email protected]> Link: https://lore.kernel.org/r/20211001211108.9839928e42e0.Ib81ca187d3d3af7ed1bfeac2e00d08a4637c8025@changeid Signed-off-by: Johannes Berg <[email protected]> Cc: Felix Fietkau <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>