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

John Ferlan jferlan at redhat.com
Wed Feb 20 14:46:55 UTC 2019


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




More information about the libvir-list mailing list