summaryrefslogtreecommitdiff
path: root/lib/raid6
diff options
context:
space:
mode:
authorChen Gang <gang.chen@asianux.com>2013-07-08 15:59:38 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-09 10:33:19 -0700
commit2f992ee85aaa7dfd2bda43efe4493af1e108d054 (patch)
tree607b66c6814020bb9aa7c0ffe1e3d4fd872efbb5 /lib/raid6
parent6beb8a23b50d38a003e80c5f16b50c56e8ae3387 (diff)
downloadlwn-2f992ee85aaa7dfd2bda43efe4493af1e108d054.tar.gz
lwn-2f992ee85aaa7dfd2bda43efe4493af1e108d054.zip
kernel/auditfilter.c: fix leak in audit_add_rule() error path
If both 'tree' and 'watch' are valid we must call audit_put_tree(), just like the preceding code within audit_add_rule(). Signed-off-by: Chen Gang <gang.chen@asianux.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Eric Paris <eparis@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/raid6')
0 files changed, 0 insertions, 0 deletions