]> git.baikalelectronics.ru Git - kernel.git/commit
SELinux: remove redundant pointer checks before calling kfree()
authorPaul Moore <paul.moore@hp.com>
Wed, 1 Aug 2007 15:12:58 +0000 (11:12 -0400)
committerJames Morris <jmorris@namei.org>
Thu, 2 Aug 2007 15:52:23 +0000 (11:52 -0400)
commit1976c293091b2dfa3adf394822dd03b5795b27ad
treeee16fd7c6cdde90642550ee9937fafb96e979f67
parentb4d39489baa4b48da6e0dcdcb7230409f65c833b
SELinux: remove redundant pointer checks before calling kfree()

We don't need to check for NULL pointers before calling kfree().

Signed-off-by: Paul Moore <paul.moore@hp.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/hooks.c