mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
ipe: correct policy text ownership comment
Policy text is separately allocated only when p->pkcs7 is NULL. Correct the comment to match the existing free logic. No functional changes. Assisted-by: LLM Signed-off-by: Fan Wu <wufan@kernel.org>
This commit is contained in:
parent
6adc404a98
commit
a53d9c9ca5
|
|
@ -52,7 +52,7 @@ void ipe_free_policy(struct ipe_policy *p)
|
|||
ipe_del_policyfs_node(p);
|
||||
ipe_free_parsed_policy(p->parsed);
|
||||
/*
|
||||
* p->text is allocated only when p->pkcs7 is not NULL
|
||||
* p->text is allocated only when p->pkcs7 is NULL
|
||||
* otherwise it points to the plaintext data inside the pkcs7
|
||||
*/
|
||||
if (!p->pkcs7)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user