Re: [libvirt] [PATCH 5/9] conf: Use VIR_AUTOPTR for xmlDoc and xmlXPath objects

2019-09-18 Thread Jiri Denemark
On Mon, Sep 16, 2019 at 14:17:08 +0200, Peter Krempa wrote: > Refactor functions using these two object types together with > VIR_AUTOPTR. > > Signed-off-by: Peter Krempa > --- > src/conf/domain_conf.c | 16 +--- > src/conf/storage_conf.c | 20 +++- > 2 files

[libvirt] [PATCH 5/9] conf: Use VIR_AUTOPTR for xmlDoc and xmlXPath objects

2019-09-16 Thread Peter Krempa
Refactor functions using these two object types together with VIR_AUTOPTR. Signed-off-by: Peter Krempa --- src/conf/domain_conf.c | 16 +--- src/conf/storage_conf.c | 20 +++- 2 files changed, 12 insertions(+), 24 deletions(-) diff --git a/src/conf/domain_conf.c