]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Use g_strfeev instead of virStringFreeList
authorJán Tomko <jtomko@redhat.com>
Sun, 2 Aug 2020 17:36:03 +0000 (19:36 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 3 Aug 2020 13:37:36 +0000 (15:37 +0200)
commitee247e1d3fbfcf8d2aaff9447b79a65910bcf026
tree54b23ddfd44914f31d9d5e357887d4142f15318c
parent201dcc16906cdbd398056aea175d1dfde1513546
Use g_strfeev instead of virStringFreeList

Both accept a NULL value gracefully and virStringFreeList
does not zero the pointer afterwards, so a straight replace
is safe.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
52 files changed:
src/bhyve/bhyve_command.c
src/bhyve/bhyve_parse_command.c
src/conf/domain_capabilities.c
src/conf/node_device_conf.c
src/cpu/cpu_arm.c
src/cpu/cpu_ppc64.c
src/libxl/libxl_conf.c
src/libxl/xen_common.c
src/libxl/xen_xl.c
src/libxl/xen_xm.c
src/lxc/lxc_container.c
src/lxc/lxc_native.c
src/qemu/qemu_agent.c
src/qemu/qemu_capabilities.c
src/qemu/qemu_conf.c
src/qemu/qemu_domain.c
src/qemu/qemu_driver.c
src/qemu/qemu_migration_params.c
src/qemu/qemu_monitor_json.c
src/qemu/qemu_process.c
src/remote/remote_daemon_dispatch.c
src/remote/remote_driver.c
src/storage/storage_backend_rbd.c
src/storage/storage_backend_sheepdog.c
src/storage/storage_backend_zfs.c
src/util/vircgroup.c
src/util/vircgroupv2.c
src/util/virconf.c
src/util/virfile.c
src/util/virfirmware.c
src/util/virlog.c
src/util/virmacmap.c
src/util/virresctrl.c
src/util/virstring.c
src/util/viruri.c
src/vbox/vbox_common.c
src/vbox/vbox_snapshot_conf.c
src/vbox/vbox_tmpl.c
src/vz/vz_sdk.c
tests/qemumonitorjsontest.c
tests/vboxsnapshotxmltest.c
tests/virconftest.c
tests/virfiletest.c
tests/virstringtest.c
tools/virsh-checkpoint.c
tools/virsh-domain.c
tools/virsh-host.c
tools/virsh-nodedev.c
tools/virsh-pool.c
tools/virsh-snapshot.c
tools/virt-login-shell-helper.c
tools/vsh.c