[libvirt PATCH 0/5] Use g_new0 more (glib chronicles)

Ján Tomko jtomko at redhat.com
Wed Sep 23 20:11:03 UTC 2020


Remove VIR_ALLOC* from tools/ (with the exception
of vsh*alloc, which will be cleaned up later)
and some random subdirs from src/

Ján Tomko (5):
  node_device: use g_new0 instead of VIR_ALLOC*
  openvz: use g_new0 instead of VIR_ALLOC*
  secret: use g_new0 instead of VIR_ALLOC*
  security: use g_new0 instead of VIR_ALLOC*
  tools: use g_new0 instead of VIR_ALLOC*

 src/node_device/node_device_udev.c | 27 +++++++++------------------
 src/openvz/openvz_conf.c           | 12 ++++--------
 src/openvz/openvz_driver.c         |  3 +--
 src/secret/secret_driver.c         |  3 +--
 src/security/security_apparmor.c   |  3 +--
 src/security/security_dac.c        |  9 +++------
 src/security/security_manager.c    | 14 +++++---------
 src/security/security_selinux.c    |  9 +++------
 src/security/security_stack.c      |  6 ++----
 tools/virsh-domain-monitor.c       | 11 +++--------
 tools/virsh-domain.c               | 26 ++++++++------------------
 tools/virt-admin-completer.c       | 12 +-----------
 tools/virt-login-shell-helper.c    | 13 ++++---------
 tools/vsh-table.c                  | 21 +++++++--------------
 tools/vsh.c                        |  5 +----
 15 files changed, 53 insertions(+), 121 deletions(-)

-- 
2.26.2




More information about the libvir-list mailing list