diff options
author | 2018-09-30 12:53:00 +0200 | |
---|---|---|
committer | 2018-10-01 09:11:36 +0200 | |
commit | 848e616e66d4592fe9afc40743d3504deb7632b4 (patch) | |
tree | fe248e4b36418a1c2a168ff01c0738fcbcf97d52 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | netlink: fix typo in nla_parse_nested() comment (diff) | |
download | linux-dev-848e616e66d4592fe9afc40743d3504deb7632b4.tar.xz linux-dev-848e616e66d4592fe9afc40743d3504deb7632b4.zip |
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/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions