projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1af477
)
apparmor: fix checkpatch error in Parse secmark policy
author
John Johansen
<john.johansen@canonical.com>
Fri, 2 Nov 2018 05:28:17 +0000
(22:28 -0700)
committer
John 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
patch
|
blob
|
history
diff --git
a/security/apparmor/policy.c
b/security/apparmor/policy.c
index
8d846a7
..
df9c589
100644
(file)
--- 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);