From: Eric Paris Date: Tue, 13 Jan 2009 22:32:40 +0000 (-0500) Subject: audit: incorrect ref counting in audit tree tag_chunk X-Git-Tag: v2.6.30-rc1~196^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=318b6d3d7ddbcad3d6867e630711b8a705d873d7;p=pandora-kernel.git audit: incorrect ref counting in audit tree tag_chunk tag_chunk has bad exit paths in which the inotify ref counting is wrong. At the top of the function we found &old_watch using inotify_find_watch(). inotify_find_watch takes a reference to the watch. This is never dropped on an error path. Signed-off-by: Eric Paris Signed-off-by: Al Viro --- Reading git-diff-tree failed