]> xenbits.xensource.com Git - libvirt.git/commit
Use g_autofree instead of VIR_AUTOFREE
authorJán Tomko <jtomko@redhat.com>
Tue, 15 Oct 2019 13:16:31 +0000 (15:16 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 16 Oct 2019 10:06:43 +0000 (12:06 +0200)
commit1e2ae2e311c7453e7894e93688f8785736aa0618
tree1b0711d8ce2f8052b8fc394d735693f5a4539477
parent2b2c67b401d10d9752fe9c390c88a1555ccbe947
Use g_autofree instead of VIR_AUTOFREE

Since commit 44e7f029159ed701b4a1739ac711507ee53790ed
    util: rewrite auto cleanup macros to use glib's equivalent

VIR_AUTOFREE is just an alias for g_autofree. Use the GLib macros
directly instead of our custom aliases.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
144 files changed:
src/conf/checkpoint_conf.c
src/conf/domain_conf.c
src/conf/secret_conf.c
src/conf/snapshot_conf.c
src/conf/storage_conf.c
src/conf/virnetworkobj.c
src/conf/virnetworkportdef.c
src/cpu/cpu_x86.c
src/driver.c
src/interface/interface_backend_netcf.c
src/interface/interface_backend_udev.c
src/libvirt-admin.c
src/libxl/xen_common.c
src/libxl/xen_xl.c
src/libxl/xen_xm.c
src/lxc/lxc_native.c
src/network/bridge_driver.c
src/node_device/node_device_hal.c
src/node_device/node_device_udev.c
src/qemu/qemu_block.c
src/qemu/qemu_blockjob.c
src/qemu/qemu_capabilities.c
src/qemu/qemu_checkpoint.c
src/qemu/qemu_command.c
src/qemu/qemu_conf.c
src/qemu/qemu_domain.c
src/qemu/qemu_domain_address.c
src/qemu/qemu_driver.c
src/qemu/qemu_extdevice.c
src/qemu/qemu_firmware.c
src/qemu/qemu_hotplug.c
src/qemu/qemu_interop_config.c
src/qemu/qemu_migration.c
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor_json.c
src/qemu/qemu_process.c
src/qemu/qemu_slirp.c
src/qemu/qemu_tpm.c
src/qemu/qemu_vhost_user.c
src/qemu/qemu_vhost_user_gpu.c
src/remote/remote_daemon_dispatch.c
src/remote/remote_driver.c
src/secret/secret_driver.c
src/security/security_util.c
src/storage/storage_backend.c
src/storage/storage_backend_disk.c
src/storage/storage_backend_fs.c
src/storage/storage_backend_gluster.c
src/storage/storage_backend_iscsi.c
src/storage/storage_backend_iscsi_direct.c
src/storage/storage_backend_logical.c
src/storage/storage_backend_mpath.c
src/storage/storage_backend_rbd.c
src/storage/storage_backend_scsi.c
src/storage/storage_backend_sheepdog.c
src/storage/storage_backend_vstorage.c
src/storage/storage_backend_zfs.c
src/storage/storage_driver.c
src/storage/storage_file_gluster.c
src/storage/storage_util.c
src/test/test_driver.c
src/util/iohelper.c
src/util/virarptable.c
src/util/viraudit.c
src/util/virauth.c
src/util/virauthconfig.c
src/util/virbuffer.c
src/util/vircgroup.c
src/util/vircgroupv1.c
src/util/vircgroupv2.c
src/util/vircommand.c
src/util/virerror.c
src/util/vireventpoll.c
src/util/virfcp.c
src/util/virfile.c
src/util/virfilecache.c
src/util/virfirewall.c
src/util/virfirewalld.c
src/util/virhook.c
src/util/virhostdev.c
src/util/virhostmem.c
src/util/viriptables.c
src/util/viriscsi.c
src/util/virjson.c
src/util/virkmod.c
src/util/virlease.c
src/util/virmdev.c
src/util/virnetdevbridge.c
src/util/virnetdevip.c
src/util/virnetdevmacvlan.c
src/util/virnetdevopenvswitch.c
src/util/virnetdevtap.c
src/util/virnetdevveth.c
src/util/virnetlink.c
src/util/virnodesuspend.c
src/util/virnuma.c
src/util/virpci.c
src/util/virperf.c
src/util/virpidfile.c
src/util/virprocess.c
src/util/virqemu.c
src/util/virresctrl.c
src/util/virscsi.c
src/util/virsocketaddr.c
src/util/virstoragefile.c
src/util/virtpm.c
src/util/virusb.c
src/util/virutil.c
tests/cputest.c
tests/networkxml2firewalltest.c
tests/qemublocktest.c
tests/qemucapabilitiestest.c
tests/qemucaps2xmltest.c
tests/qemudomaincheckpointxml2xmltest.c
tests/qemufirmwaretest.c
tests/qemumonitorjsontest.c
tests/qemumonitortestutils.c
tests/qemusecuritytest.c
tests/qemuvhostusertest.c
tests/storagebackendsheepdogtest.c
tests/storagepoolcapstest.c
tests/storagepoolxml2argvtest.c
tests/storagepoolxml2xmltest.c
tests/storagevolxml2argvtest.c
tests/storagevolxml2xmltest.c
tests/testutils.c
tests/testutilsqemu.c
tests/virfilewrapper.c
tests/virhostdevtest.c
tests/virjsontest.c
tests/virmockstathelpers.c
tests/virnetdevopenvswitchtest.c
tests/virpcimock.c
tests/virstoragetest.c
tests/virstorageutiltest.c
tools/virsh-completer-domain.c
tools/virsh-completer-host.c
tools/virsh-completer.c
tools/virsh-domain-monitor.c
tools/virsh-domain.c
tools/virsh-network.c
tools/virsh-pool.c
tools/virsh-secret.c
tools/virt-admin.c