[libvirt PATCH v2 0/8] Replace VIR_{ALLOC, ALLOC_N, FREE} in src/cpu/*.

Tim Wiederhake twiederh at redhat.com
Fri Sep 11 07:52:47 UTC 2020


V1: https://www.redhat.com/archives/libvir-list/2020-September/msg00540.html

Tim Wiederhake (8):
  cpu_ppc64: Use g_auto* in ppc64MakeCPUData
  cpu_map: Use g_auto* in loadData
  cpu_map: Use g_auto* in loadIncludes
  cpu_x86: Use g_auto* in virX86CpuIncompatible
  cpu_map: Remove unnecessary variable in loadData
  cpu: Replace VIR_ALLOC with g_new0
  cpu: Replace VIR_ALLOC_N with g_new0
  cpu: Replace VIR_FREE with g_free

 src/cpu/cpu.c       |  6 ++---
 src/cpu/cpu_map.c   | 20 ++++++---------
 src/cpu/cpu_ppc64.c | 59 ++++++++++++++++-----------------------------
 src/cpu/cpu_x86.c   | 11 ++++-----
 4 files changed, 36 insertions(+), 60 deletions(-)

-- 
2.26.2





More information about the libvir-list mailing list