From: James Morris Date: Mon, 10 Aug 2009 12:00:13 +0000 (+1000) Subject: SELinux: fix memory leakage in /security/selinux/hooks.c X-Git-Tag: v2.6.31-rc6~16^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=314dabb83a547ec4da819e8cbc78fac9cec605cd;p=pandora-kernel.git SELinux: fix memory leakage in /security/selinux/hooks.c Fix memory leakage in /security/selinux/hooks.c The buffer always needs to be freed here; we either error out or allocate more memory. Reported-by: iceberg Signed-off-by: James Morris Acked-by: Stephen Smalley --- Reading git-diff-tree failed