[PATCH 0/2] lib: Use g_clear_pointer() more

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



*** BLURB HERE ***

Michal Prívozník (2):
  vbox_common: Drop needless set to NULL
  lib: Use g_clear_pointer() more

 src/ch/ch_driver.c                         |  6 +-
 src/ch/ch_process.c                        |  3 +-
 src/conf/capabilities.c                    |  9 +--
 src/conf/domain_conf.c                     | 49 ++++++----------
 src/conf/network_conf.c                    |  3 +-
 src/conf/numa_conf.c                       |  3 +-
 src/conf/nwfilter_conf.c                   |  3 +-
 src/conf/snapshot_conf.c                   |  3 +-
 src/conf/storage_source_conf.c             |  3 +-
 src/conf/virinterfaceobj.c                 |  3 +-
 src/conf/virnetworkobj.c                   |  6 +-
 src/conf/virnodedeviceobj.c                |  3 +-
 src/conf/virnwfilterbindingobj.c           |  3 +-
 src/conf/virsecretobj.c                    |  6 +-
 src/conf/virstorageobj.c                   |  6 +-
 src/datatypes.c                            |  6 +-
 src/hyperv/hyperv_wmi.c                    |  6 +-
 src/interface/interface_backend_netcf.c    | 12 ++--
 src/libvirt-domain.c                       |  3 +-
 src/libxl/libxl_capabilities.c             |  3 +-
 src/libxl/libxl_migration.c                |  6 +-
 src/locking/lock_daemon.c                  |  6 +-
 src/locking/lock_driver_lockd.c            |  3 +-
 src/logging/log_daemon.c                   |  6 +-
 src/lxc/lxc_controller.c                   | 12 ++--
 src/lxc/lxc_domain.c                       |  6 +-
 src/lxc/lxc_driver.c                       |  6 +-
 src/lxc/lxc_fuse.c                         |  3 +-
 src/lxc/lxc_native.c                       | 24 +++-----
 src/lxc/lxc_process.c                      | 21 +++----
 src/network/bridge_driver_linux.c          |  6 +-
 src/nwfilter/nwfilter_dhcpsnoop.c          |  6 +-
 src/nwfilter/nwfilter_driver.c             |  3 +-
 src/qemu/qemu_agent.c                      |  6 +-
 src/qemu/qemu_backup.c                     |  3 +-
 src/qemu/qemu_blockjob.c                   | 30 ++++------
 src/qemu/qemu_domain.c                     | 68 +++++++---------------
 src/qemu/qemu_domain_address.c             |  3 +-
 src/qemu/qemu_driver.c                     |  9 +--
 src/qemu/qemu_hotplug.c                    | 12 ++--
 src/qemu/qemu_migration.c                  |  9 +--
 src/qemu/qemu_monitor.c                    |  9 +--
 src/qemu/qemu_namespace.c                  |  3 +-
 src/qemu/qemu_process.c                    | 18 ++----
 src/remote/remote_daemon_dispatch.c        | 15 ++---
 src/remote/remote_driver.c                 | 21 +++----
 src/remote/remote_ssh_helper.c             |  3 +-
 src/rpc/virnetclient.c                     | 15 ++---
 src/rpc/virnetserverclient.c               | 15 ++---
 src/rpc/virnettlscontext.c                 |  3 +-
 src/secret/secret_driver.c                 |  6 +-
 src/security/security_manager.c            |  3 +-
 src/security/security_selinux.c            |  6 +-
 src/storage/storage_backend_iscsi_direct.c |  3 +-
 src/storage/storage_backend_rbd.c          |  6 +-
 src/storage/storage_util.c                 |  3 +-
 src/storage_file/storage_file_probe.c      |  3 +-
 src/storage_file/storage_source.c          |  3 +-
 src/test/test_driver.c                     |  6 +-
 src/util/viralloc.c                        |  3 +-
 src/util/virconf.c                         |  3 +-
 src/util/virerror.c                        |  3 +-
 src/util/vireventglib.c                    | 12 ++--
 src/util/virfile.c                         |  3 +-
 src/util/virfilecache.c                    |  6 +-
 src/util/virgdbus.c                        |  3 +-
 src/util/virmdev.c                         |  3 +-
 src/util/virnetdev.c                       |  3 +-
 src/util/virnetlink.c                      |  3 +-
 src/util/virpci.c                          |  3 +-
 src/util/virresctrl.c                      |  3 +-
 src/util/virstring.c                       |  3 +-
 src/util/virsysinfo.c                      | 18 ++----
 src/util/virtpm.c                          |  3 +-
 src/vbox/vbox_XPCOMCGlue.c                 |  3 +-
 src/vbox/vbox_common.c                     |  5 +-
 src/vbox/vbox_snapshot_conf.c              | 12 ++--
 src/vmx/vmx.c                              | 27 +++------
 src/vz/vz_driver.c                         |  3 +-
 src/vz/vz_sdk.c                            |  3 +-
 tests/commandtest.c                        |  6 +-
 tests/cputest.c                            |  3 +-
 tests/qemumonitortestutils.c               |  3 +-
 tests/virnetdaemontest.c                   |  3 +-
 tests/virnetsockettest.c                   |  3 +-
 tests/virnettlshelpers.c                   |  3 +-
 tests/virpcivpdtest.c                      |  2 +-
 tests/virusbtest.c                         |  6 +-
 tools/virsh-domain-monitor.c               |  6 +-
 tools/virsh-domain.c                       |  3 +-
 tools/virsh-interface.c                    |  3 +-
 tools/virsh-network.c                      |  6 +-
 tools/virsh-nodedev.c                      |  3 +-
 tools/virsh-nwfilter.c                     |  6 +-
 tools/virsh-pool.c                         |  3 +-
 tools/virsh-secret.c                       |  3 +-
 tools/virsh-snapshot.c                     | 16 ++---
 tools/virsh-volume.c                       |  3 +-
 tools/virsh.c                              |  3 +-
 tools/vsh.c                                | 18 ++----
 100 files changed, 252 insertions(+), 503 deletions(-)

-- 
2.34.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux