From: Davi Arnaut Date: Sun, 23 Oct 2005 19:57:16 +0000 (-0700) Subject: [PATCH] SELinux: handle sel_make_bools() failure in selinuxfs X-Git-Tag: v2.6.14~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20c19e4179884d7e843314071e2dfb1ea7b0afcd;p=pandora-kernel.git [PATCH] SELinux: handle sel_make_bools() failure in selinuxfs This patch fixes error handling in sel_make_bools(), where currently we'd get a memory leak via security_get_bools() and try to kfree() the wrong pointer if called again. Signed-off-by: James Morris Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed