fix more leaks in audit_tree.c tag_chunk()
commit33e07b58ec6f3f3a6056e9a0205e1bd9b3e9612c
authorAl Viro <viro@ZenIV.linux.org.uk>
Sat, 19 Dec 2009 16:03:30 +0000 (19 16:03 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 18 Jan 2010 18:28:51 +0000 (18 10:28 -0800)
tree6a17628c9214a7a12989646eeb734bd6f2630a11
parent591e4112cc4b18a1ad64241a589d3368d1c5ac3a
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