commit | 09d118008f9815181d2114b84800e68019cd7b7d | [log] [tgz] |
---|---|---|
author | Ola Olsson <ola1olsson@gmail.com> | Sun Dec 13 19:12:03 2015 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Tue Dec 15 13:08:02 2015 +0100 |
tree | 80ff2dc7806ae3f6a95de9d8f7ac98827552ae4f | |
parent | b7bb110008607a915298bf0f47d25886ecb94477 [diff] |
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>