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

Tim Wiederhake posted 8 patches 2 weeks ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20200911075255.305089-1-twiederh@redhat.com
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(-)

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

Posted by Tim Wiederhake 2 weeks ago
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