]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Introduce VIR_DEFINE_AUTOPTR_FUNC for virStoragePoolDef
authorJohn Ferlan <jferlan@redhat.com>
Thu, 31 Jan 2019 15:21:47 +0000 (10:21 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 12 Feb 2019 13:51:23 +0000 (08:51 -0500)
commit2f92d59c781eb0e241837ea4f52fcf0c9dc23d23
tree0e50343a0b197269e0575297291797449e8d5238
parentd2ddcdc1a2250d044ac7fc2c0585bad7234c08aa
conf: Introduce VIR_DEFINE_AUTOPTR_FUNC for virStoragePoolDef

Let's make use of the auto __cleanup capabilities cleaning up any
now unnecessary goto paths.

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_conf.c
src/conf/storage_conf.c
src/conf/storage_conf.h
src/conf/virstorageobj.c
src/phyp/phyp_driver.c
src/storage/storage_driver.c
src/test/test_driver.c
tests/storagebackendsheepdogtest.c
tests/storagepoolxml2xmltest.c
tests/storagevolxml2argvtest.c
tests/storagevolxml2xmltest.c