commit | 2e08df3c7c4e4e74e3dd5104c100f0bf6288aaa8 | [log] [tgz] |
---|---|---|
author | Bernard Zhao <bernard@vivo.com> | Fri Dec 10 04:03:58 2021 -0800 |
committer | Paul Moore <paul@paul-moore.com> | Tue Dec 21 14:47:35 2021 -0500 |
tree | 55a55e05c90aa4833283069fa012fcd6cc136232 | |
parent | 52f982f00b220d097a71a23c149a1d18efc08e63 [diff] |
selinux: fix potential memleak in selinux_add_opt() This patch try to fix potential memleak in error branch. Fixes: ba6418623385 ("selinux: new helper - selinux_add_opt()") Signed-off-by: Bernard Zhao <bernard@vivo.com> [PM: tweak the subject line, add Fixes tag] Signed-off-by: Paul Moore <paul@paul-moore.com>