Skip to content
Commit 2e08df3c authored by Bernard Zhao's avatar Bernard Zhao Committed by Paul Moore
Browse files

selinux: fix potential memleak in selinux_add_opt()



This patch try to fix potential memleak in error branch.

Fixes: ba641862 ("selinux: new helper - selinux_add_opt()")
Signed-off-by: default avatarBernard Zhao <bernard@vivo.com>
[PM: tweak the subject line, add Fixes tag]
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 52f982f0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment