From: Dmitry Kasatkin Date: Mon, 30 Jan 2012 00:19:08 +0000 (-0500) Subject: ima: free securityfs violations file X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0ea4f8ae416a9e8d15f4e20680879358f620e8b8;p=openwrt%2Fstaging%2Fblogic.git ima: free securityfs violations file On ima_fs_init() error, free securityfs violations file. Signed-off-by: Dmitry Kasatkin Signed-off-by: Mimi Zohar --- diff --git a/security/integrity/ima/ima_fs.c b/security/integrity/ima/ima_fs.c index e1aa2b482dd2..3fccc065a0fb 100644 --- a/security/integrity/ima/ima_fs.c +++ b/security/integrity/ima/ima_fs.c @@ -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);