]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
apparmor: fix checkpatch error in Parse secmark policy
authorJohn Johansen <john.johansen@canonical.com>
Fri, 2 Nov 2018 05:28:17 +0000 (22:28 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Fri, 2 Nov 2018 05:28:17 +0000 (22:28 -0700)
Fix missed spacing error reported by checkpatch for
9caafbe2b4cf ("Parse secmark policy")

Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/policy.c

index 8d846a747b84630a65ffa2a10ada8c3d2f30927b..df9c5890a87891dc1707fc51171148d01d952ea5 100644 (file)
@@ -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);