commit | b3e8692b4dde5cf5fc60e4b95385229a72623182 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Wed Aug 15 12:55:22 2012 +0200 |
committer | Miklos Szeredi <mszeredi@suse.cz> | Wed Aug 15 12:55:22 2012 +0200 |
tree | 5145a92e403b7faa54ac47b24d0791ca9c6c01bc | |
parent | a2140fc0cb0325bb6384e788edd27b9a568714e2 [diff] |
audit: clean up refcounting in audit-tree Drop the initial reference by fsnotify_init_mark early instead of audit_tree_freeing_mark() at destroy time. In the cases we destroy the mark before we drop the initial reference we need to get rid of the get_mark that balances the put_mark in audit_tree_freeing_mark(). Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>