]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virSecuritySELinuxContextAddRange: Refactor cleanup of 'context_t'
authorPeter Krempa <pkrempa@redhat.com>
Fri, 18 Jul 2025 14:08:40 +0000 (16:08 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 22 Jul 2025 14:52:35 +0000 (16:52 +0200)
commit9aa0cfdd55d5ffe9ae720f84b8f25c772260e0b5
tree95cc76ab4e4c0cb771367fe88b9cea2207c954ea
parent08afef3fdce49737eedf0807abfb09d4392992df
virSecuritySELinuxContextAddRange: Refactor cleanup of 'context_t'

Use the new autoptr helper to free the temporary variables and refactor
cleanup.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/security/security_selinux.c