diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-10-17 18:25:16 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-10-18 09:52:00 +0300 |
commit | 320c975f180b19296f0fd6c5bf2144e633aaba5e (patch) | |
tree | 4e70d46d96e0588bb0d5061079d979454634ae34 /arch | |
parent | a3e2f4b6ed9de85086850fe49801f9b00adb6ae1 (diff) | |
download | linux-320c975f180b19296f0fd6c5bf2144e633aaba5e.tar.xz |
cfg80211: fix possible memory leak in cfg80211_iter_combinations()
'limits' is malloced in cfg80211_iter_combinations() and should be freed
before leaving from the error handling cases, otherwise it will cause
memory leak.
Fixes: 0c317a02ca98 ("cfg80211: support virtual interfaces with different beacon intervals")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions