selinux: Return directly after a failed kzalloc() in roles_init()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 15 Jan 2017 11:10:09 +0000 (12:10 +0100)
committerPaul Moore <paul@paul-moore.com>
Wed, 29 Mar 2017 15:39:17 +0000 (11:39 -0400)
commitebd2b47ba52760e9653456ba19032f79d734a343
treee76695d8e3a9f72888f9700ca4beb4ec8795f26f
parent7befb7514e5d53026e9fe4a6548f118a65a20a4f
selinux: Return directly after a failed kzalloc() in roles_init()

Return directly after a call of the function "kzalloc" failed
at the beginning.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/ss/policydb.c