aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/reg.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-02-24 10:56:42 +0100
committerJohannes Berg <johannes.berg@intel.com>2015-02-24 10:56:42 +0100
commita18c7192aabac73078f35e5ef4ce28ad5f8cfe8e (patch)
tree39ce8be8e1854e89835e80e167100e0f364ace98 /net/wireless/reg.c
parentnl80211: use loop index as type for net detect frequency results (diff)
downloadlinux-dev-a18c7192aabac73078f35e5ef4ce28ad5f8cfe8e.tar.xz
linux-dev-a18c7192aabac73078f35e5ef4ce28ad5f8cfe8e.zip
nl80211: fix memory leak in monitor flags parsing
If monitor flags parsing results in active monitor but that isn't supported, the already allocated message is leaked. Fix this by moving the allocation after this check. Reported-by: Christian Engelmayer <cengelma@gmx.at> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/reg.c')
0 files changed, 0 insertions, 0 deletions