]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fix more leaks in audit_tree.c tag_chunk()
authorAl Viro <viro@ZenIV.linux.org.uk>
Sat, 19 Dec 2009 16:03:30 +0000 (16:03 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 18 Jan 2010 18:33:58 +0000 (10:33 -0800)
commit6f5195525e548d474a77ce00baa927e5c7ed6976
tree7d0331b8c73bae5b85e4d2b59de1299db50f9648
parent0ad8dbec4622c3eef0abe019b9f036ff6a12f277
fix more leaks in audit_tree.c tag_chunk()

commit b4c30aad39805902cf5b855aa8a8b22d728ad057 upstream.

Several leaks in audit_tree didn't get caught by commit
318b6d3d7ddbcad3d6867e630711b8a705d873d7, including the leak on normal
exit in case of multiple rules refering to the same chunk.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/audit_tree.c