]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxlGetDHCPInterfaces: Switch to GLib
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 4 Dec 2019 09:26:58 +0000 (10:26 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 17 Dec 2019 15:58:43 +0000 (16:58 +0100)
commitf1625edc1678809c39b40bfec10fef4c30f1fb21
treebfc07800115193161fa7faaa06b6a75961c372e3
parent66eafbc26feeb8c148b927aa03447581840a29df
libxlGetDHCPInterfaces: Switch to GLib

If we use glib alloc functions, we can drop the 'cleanup' label
and @rv variable and also simplify the code a bit.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
src/libxl/libxl_driver.c