commit | 848e616e66d4592fe9afc40743d3504deb7632b4 | [log] [tgz] |
---|---|---|
author | Stefan Seyfried <seife+kernel@b1-systems.com> | Sun Sep 30 12:53:00 2018 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Mon Oct 01 09:11:36 2018 +0200 |
tree | fe248e4b36418a1c2a168ff01c0738fcbcf97d52 | |
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>