summaryrefslogtreecommitdiffstats
path: root/security/apparmor
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2018-11-01 22:28:17 -0700
committerJohn Johansen <john.johansen@canonical.com>2018-11-01 22:28:17 -0700
commit76af016e65e74023a11b2710e18a98b68b86e3cd (patch)
tree4f84fcd4f67940fcd44d2ba315496bf15687c989 /security/apparmor
parente1af4779617928efa84562de4de5dc071e7deb08 (diff)
downloadlinux-76af016e65e74023a11b2710e18a98b68b86e3cd.tar.gz
linux-76af016e65e74023a11b2710e18a98b68b86e3cd.tar.bz2
linux-76af016e65e74023a11b2710e18a98b68b86e3cd.zip
apparmor: fix checkpatch error in Parse secmark policy
Fix missed spacing error reported by checkpatch for 9caafbe2b4cf ("Parse secmark policy") Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor')
-rw-r--r--security/apparmor/policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/policy.c b/security/apparmor/policy.c
index 8d846a747b84..df9c5890a878 100644
--- a/security/apparmor/policy.c
+++ b/security/apparmor/policy.c
@@ -231,7 +231,7 @@ void aa_free_profile(struct aa_profile *profile)
for (i = 0; i < profile->xattr_count; i++)
kzfree(profile->xattrs[i]);
kzfree(profile->xattrs);
- for (i=0; i < profile->secmark_count; i++)
+ for (i = 0; i < profile->secmark_count; i++)
kzfree(profile->secmark[i].label);
kzfree(profile->secmark);
kzfree(profile->dirname);