]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virSecuritySELinux(Set|Restore)HostdevCapsLabel: Refactor cleanup
authorPeter Krempa <pkrempa@redhat.com>
Tue, 27 May 2025 14:17:00 +0000 (16:17 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 22 Jul 2025 14:52:35 +0000 (16:52 +0200)
commit85e22de81096c361d9cc9894347ab67c1e0d68ee
tree84045925ce675834e62cb8444ed592adbdc480b3
parent4bc8d70969222ce5c21bdf0a2e02072241eb0d5b
virSecuritySELinux(Set|Restore)HostdevCapsLabel: Refactor cleanup

Declare 'path' only in blocks where it's used and autofree it.

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