]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuGetDHCPInterfaces: Switch to GLib
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 3 Dec 2019 17:01:31 +0000 (18:01 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 17 Dec 2019 15:58:42 +0000 (16:58 +0100)
commit7be63dbe25f086050c0bc2d3b876de3cbc6fde1e
treef947b6bf51a433cf26040f0b5350ebd9385f8982
parentc06f4b48fee933fd4c1a9642d6f85602b85d14fd
qemuGetDHCPInterfaces: 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/qemu/qemu_driver.c