[libvirt PATCH v2 0/2] Use g_auto* in src/cpu/*.

Tim Wiederhake twiederh at redhat.com
Wed Sep 9 06:37:49 UTC 2020


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

Changes since V1:
* Most patches already commited, this is the remainder.
* Incorporated comment from Ján into patch #1.
* Rebased on top of Daniels patches.

With these patches, src/cpu/ becomes `goto` free.

Tim Wiederhake (2):
  cpu_map: Use g_auto* in loadData
  cpu_ppc64: Remove error path in virCPUppc64DriverGetModels

 src/cpu/cpu_map.c   | 18 ++++++------------
 src/cpu/cpu_ppc64.c | 11 ++---------
 2 files changed, 8 insertions(+), 21 deletions(-)

-- 
2.26.2





More information about the libvir-list mailing list