ima: free securityfs violations file

On ima_fs_init() error, free securityfs violations file.

Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
This commit is contained in:
Dmitry Kasatkin 2012-01-29 19:19:08 -05:00 committed by Mimi Zohar
parent 08e1b76ae3
commit 0ea4f8ae41

View File

@ -367,6 +367,7 @@ int __init ima_fs_init(void)
return 0;
out:
securityfs_remove(violations);
securityfs_remove(runtime_measurements_count);
securityfs_remove(ascii_runtime_measurements);
securityfs_remove(binary_runtime_measurements);