]> xenbits.xensource.com Git - libvirt.git/commit
conf: network: Use VIR_AUTOPTR in virNetworkDefUpdateSection
authorPeter Krempa <pkrempa@redhat.com>
Mon, 16 Sep 2019 11:25:40 +0000 (13:25 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 19 Sep 2019 12:31:15 +0000 (14:31 +0200)
commit8944f261f5b7000e3334871e0512dc3590481d19
tree8b308764204fb422049a422cf9a447d91ad9b89f
parentbfedd14955fab334fc941268615100dfaf3cdbd9
conf: network: Use VIR_AUTOPTR in virNetworkDefUpdateSection

Add automatic cleanup for variables of xmlDoc and xmlXPathContext type
to remove the cleanup section.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/conf/network_conf.c