]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Introduce VIR_DEFINE_AUTOPTR_FUNC for virStorageAuthDef
authorJohn Ferlan <jferlan@redhat.com>
Thu, 31 Jan 2019 12:48:42 +0000 (07:48 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 12 Feb 2019 13:51:23 +0000 (08:51 -0500)
commit13395548b2a6c3e33861312976d7ea7ebb738728
treee597bb5a7ee40881b33bd33db80b108398b88667
parent6fcc34408205d7f622fde2099b14235f08964df0
util: Introduce VIR_DEFINE_AUTOPTR_FUNC for virStorageAuthDef

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/qemu/qemu_parse_command.c
src/util/virstoragefile.c
src/util/virstoragefile.h