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

Tim Wiederhake twiederh at redhat.com
Fri Sep 11 13:22:41 UTC 2020


V1: https://www.redhat.com/archives/libvir-list/2020-September/msg00540.html
V2: https://www.redhat.com/archives/libvir-list/2020-September/msg00610.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   | 18 ++++++--------
 src/cpu/cpu_ppc64.c | 59 ++++++++++++++++-----------------------------
 src/cpu/cpu_x86.c   | 11 ++++-----
 4 files changed, 35 insertions(+), 59 deletions(-)

-- 
2.26.2





More information about the libvir-list mailing list