Ola Olsson 09d118008f nl80211: fix a few memory leaks in reg.c
The first leak occurs when entering the default case
in the switch for the initiator in set_regdom.
The second leaks a platform_device struct if the
platform registration in regulatory_init succeeds but
the sub sequent regulatory hint fails due to no memory.

Signed-off-by: Ola Olsson <ola.olsson@sonymobile.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2015-12-15 13:08:02 +01:00
..
2015-10-15 16:17:07 +02: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
2015-12-15 13:08:02 +01:00
2015-05-20 15:00:12 +02:00
2012-10-18 10:53:37 +02:00