]> git.ipfire.org Git - thirdparty/libvirt.git/commit
security: apparmor: use automatic cleanup in load_profile
authorJán Tomko <jtomko@redhat.com>
Mon, 13 Dec 2021 13:06:17 +0000 (14:06 +0100)
committerJán Tomko <jtomko@redhat.com>
Mon, 13 Dec 2021 17:20:46 +0000 (18:20 +0100)
commiteff68d3637d4530b8813062a730ec13ac24a67a9
treeec333d38643625daac5b233008a702c1ba33a3cc
parentfd206c2867c057731980afd2481929415cf94fbb
security: apparmor: use automatic cleanup in load_profile

Use g_auto for virCommand and char * and drop the cleanup label.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/security/security_apparmor.c