]> err.no Git - linux-2.6/commit
selinux: fix memory leak in netlabel code
authorPaul Moore <paul.moore@hp.com>
Mon, 21 Jan 2008 22:31:00 +0000 (09:31 +1100)
committerJames Morris <jmorris@namei.org>
Mon, 21 Jan 2008 22:31:00 +0000 (09:31 +1100)
commit45c950e0f839fded922ebc0bfd59b1081cc71b70
tree97ca2840c63c0c646daf6b13420157237a3fcbec
parenta7da60f41551abb3c520b03d42ec05dd7decfc7f
selinux: fix memory leak in netlabel code

Fix a memory leak in security_netlbl_sid_to_secattr() as reported here:
 * https://bugzilla.redhat.com/show_bug.cgi?id=352281

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/netlabel.c
security/selinux/ss/services.c