Re: [libvirt] [PATCH 4/9] conf: Use automatic pointers for xmlXPathContext

2019-09-18 Thread Jiri Denemark
On Mon, Sep 16, 2019 at 14:17:07 +0200, Peter Krempa wrote: > Clean up functions which grab and free the context to use VIR_AUTOPTR. > > Signed-off-by: Peter Krempa > --- > src/conf/checkpoint_conf.c | 12 > src/conf/domain_conf.c | 13 - >

[libvirt] [PATCH 4/9] conf: Use automatic pointers for xmlXPathContext

2019-09-16 Thread Peter Krempa
Clean up functions which grab and free the context to use VIR_AUTOPTR. Signed-off-by: Peter Krempa --- src/conf/checkpoint_conf.c | 12 src/conf/domain_conf.c | 13 - src/conf/interface_conf.c | 11 +++ src/conf/network_conf.c | 11 +++