]> xenbits.xensource.com Git - libvirt.git/commit
conf: Use automatic pointers for xmlXPathContext
authorPeter Krempa <pkrempa@redhat.com>
Mon, 16 Sep 2019 10:52:57 +0000 (12:52 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 19 Sep 2019 12:31:15 +0000 (14:31 +0200)
commit8aa2233099a25e0e9c421f338eb3171faa3a060b
tree22963ce3abe82ff174e974c9fce3955914f9c608
parent475777c9ec9c064169a2ea5644056cc55e7edf26
conf: Use automatic pointers for xmlXPathContext

Clean up functions which grab and free the context to use VIR_AUTOPTR.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/conf/checkpoint_conf.c
src/conf/domain_conf.c
src/conf/interface_conf.c
src/conf/network_conf.c
src/conf/node_device_conf.c
src/conf/nwfilter_conf.c
src/conf/snapshot_conf.c
src/conf/storage_conf.c