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

Skip to content
Commit a18c7192 authored by Johannes Berg's avatar Johannes Berg
Browse files

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: default avatarChristian Engelmayer <cengelma@gmx.at>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 5528fae8
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