Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Al Viro <[email protected]>
- Loading branch information