Johannes Berg a18c7192aa 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>
2015-02-24 10:56:42 +01:00
..
2013-10-01 12:16:51 +02:00
2014-11-04 13:18:17 +01:00
2014-11-04 13:18:17 +01:00
2012-10-18 10:53:37 +02:00
2015-01-08 15:27:58 +01:00
2015-02-04 14:57:45 -08:00