commit | 318b6d3d7ddbcad3d6867e630711b8a705d873d7 | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Tue Jan 13 17:32:40 2009 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun Apr 05 13:48:26 2009 -0400 |
tree | bdf1d75e26b1dc5ea4db67c6061f444c26eb9799 | |
parent | 6d208da89aabee8502debe842832ca0ab298d16d [diff] |
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 <eparis@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>