]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Use VIR_AUTOPTR(virString)
authorJohn Ferlan <jferlan@redhat.com>
Thu, 31 Jan 2019 17:18:35 +0000 (12:18 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 12 Feb 2019 13:51:23 +0000 (08:51 -0500)
commit1587ba7f62245397764734f1b0b5c6575d59aa49
tree7c92273a1487f2f803c5b6d226953beed4bdd9b1
parent2f92d59c781eb0e241837ea4f52fcf0c9dc23d23
storage: Use VIR_AUTOPTR(virString)

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/storage/storage_backend_sheepdog.c
src/storage/storage_backend_zfs.c
src/util/virstoragefile.c