Re: [libvirt] [PATCH 2/9] conf: network: Use VIR_AUTOPTR in virNetworkDefUpdateSection

2019-09-18 Thread Jiri Denemark
On Mon, Sep 16, 2019 at 14:17:05 +0200, Peter Krempa wrote: > Add automatic cleanup for variables of xmlDoc and xmlXPathContext type > to remove the cleanup section. > > Signed-off-by: Peter Krempa > --- > src/conf/network_conf.c | 36 > 1 file changed, 16

[libvirt] [PATCH 2/9] conf: network: Use VIR_AUTOPTR in virNetworkDefUpdateSection

2019-09-16 Thread Peter Krempa
Add automatic cleanup for variables of xmlDoc and xmlXPathContext type to remove the cleanup section. Signed-off-by: Peter Krempa --- src/conf/network_conf.c | 36 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/src/conf/network_conf.c