diff options
author | Stefan Seyfried <seife+kernel@b1-systems.com> | 2018-09-30 12:53:00 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-10-01 09:11:36 +0200 |
commit | 848e616e66d4592fe9afc40743d3504deb7632b4 (patch) | |
tree | fe248e4b36418a1c2a168ff01c0738fcbcf97d52 /tools/perf/util/c++/clang.cpp | |
parent | 43955a45dc0b4f3be7f0c3afc0e080ed59bb5280 (diff) |
cfg80211: fix wext-compat memory leak
cfg80211_wext_giwrate and sinfo.pertid might allocate sinfo.pertid via
rdev_get_station(), but never release it. Fix that.
Fixes: 8689c051a201 ("cfg80211: dynamically allocate per-tid stats for station info")
Signed-off-by: Stefan Seyfried <seife+kernel@b1-systems.com>
[johannes: fix error path, use cfg80211_sinfo_release_content(), add Fixes]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions