[libvirt] [PATCH 0/4] Alter domain_conf to make use of autofree

John Ferlan posted 4 patches 5 years, 2 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20190220144659.7445-1-jferlan@redhat.com
There is a newer version of this series
src/conf/domain_conf.c | 2108 ++++++++++++++--------------------------
1 file changed, 737 insertions(+), 1371 deletions(-)
[libvirt] [PATCH 0/4] Alter domain_conf to make use of autofree
Posted by John Ferlan 5 years, 2 months ago
Adding to the recent hype for autofree...  It's more than just saving
a few lines - in some cases the code is easier to read too. The last
patch is really long - I suppose it could be broken up as could perhaps
domain_conf into more easily process-able units.

John Ferlan (4):
  conf: Use VIR_STEAL_PTR in domain_conf
  conf: Use VIR_AUTOPTR(virBitmap) in domain_conf
  conf: Fix XML ctxt swap in virDomainNetDefParseXML
  conf: Use VIR_AUTOFREE in domain_conf

 src/conf/domain_conf.c | 2108 ++++++++++++++--------------------------
 1 file changed, 737 insertions(+), 1371 deletions(-)

-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list