Commit b2b1b490 authored by Bernard Zhao's avatar Bernard Zhao Committed by Greg Kroah-Hartman
Browse files

selinux: fix potential memleak in selinux_add_opt()



[ Upstream commit 2e08df3c ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 3253cf09
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment