Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 83826469 authored by weiyongjun (A)'s avatar weiyongjun (A) Committed by Johannes Berg
Browse files

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: 230ebaa1 ("cfg80211: read wmm rules from regulatory database")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
[johannes: add Fixes tag]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent a7cfebcb
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