Skip to content
Commit 848e616e authored by Stefan Seyfried's avatar Stefan Seyfried Committed by Johannes Berg
Browse files

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: 8689c051 ("cfg80211: dynamically allocate per-tid stats for station info")
Signed-off-by: default avatarStefan Seyfried <seife+kernel@b1-systems.com>
[johannes: fix error path, use cfg80211_sinfo_release_content(), add Fixes]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 43955a45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment