diff options
author | Ola Olsson <ola1olsson@gmail.com> | 2015-12-13 19:12:03 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-12-15 13:08:02 +0100 |
commit | 09d118008f9815181d2114b84800e68019cd7b7d (patch) | |
tree | 80ff2dc7806ae3f6a95de9d8f7ac98827552ae4f /kernel/signal.c | |
parent | b7bb110008607a915298bf0f47d25886ecb94477 (diff) | |
download | linux-09d118008f9815181d2114b84800e68019cd7b7d.tar.gz linux-09d118008f9815181d2114b84800e68019cd7b7d.tar.bz2 linux-09d118008f9815181d2114b84800e68019cd7b7d.zip |
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>
Diffstat (limited to 'kernel/signal.c')
0 files changed, 0 insertions, 0 deletions