summaryrefslogtreecommitdiffstats
path: root/security/apparmor/policy.c
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2018-11-02 06:28:17 +0100
committerJohn Johansen <john.johansen@canonical.com>2018-11-02 06:28:17 +0100
commit76af016e65e74023a11b2710e18a98b68b86e3cd (patch)
tree4f84fcd4f67940fcd44d2ba315496bf15687c989 /security/apparmor/policy.c
parentapparmor: add #ifdef checks for secmark filtering (diff)
downloadlinux-76af016e65e74023a11b2710e18a98b68b86e3cd.tar.xz
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/policy.c')
-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);