commit | 83826469e36b9c8219f88c16713a755b2cea6ff5 | [log] [tgz] |
---|---|---|
author | weiyongjun (A) <weiyongjun1@huawei.com> | Fri Mar 30 02:07:05 2018 +0000 |
committer | Johannes Berg <johannes.berg@intel.com> | Thu Apr 19 17:02:53 2018 +0200 |
tree | 1c1f2887c220bd7f3cdcadcaa2b3d06839df4211 | |
parent | a7cfebcb7594a24609268f91299ab85ba064bf82 [diff] |
cfg80211: fix possible memory leak in regdb_query_country() 'wmm_ptrs' is malloced in regdb_query_country() and should be freed before leaving from the error handling cases, otherwise it will cause memory leak. Fixes: 230ebaa189af ("cfg80211: read wmm rules from regulatory database") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> [johannes: add Fixes tag] Signed-off-by: Johannes Berg <johannes.berg@intel.com>