Skip to content
Commit b3e8692b authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

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: default avatarMiklos Szeredi <mszeredi@suse.cz>
parent a2140fc0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment