]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: virLXCProcessReadLogOutput: Automatically close FD
authorPeter Krempa <pkrempa@redhat.com>
Mon, 5 Sep 2022 12:49:49 +0000 (14:49 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 9 Sep 2022 14:11:06 +0000 (16:11 +0200)
commit68d5617c3c4a8112c67da0f61335a3d958e91a54
tree4f2f475555e38ebc541394480847b011567d91e6
parentb0c680853a073c1b1fbba872351d73cb84a41568
lxc: virLXCProcessReadLogOutput: Automatically close FD

Switch to 'VIR_AUTOCLOSE' to simplify cleanup.

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