]> xenbits.xensource.com Git - libvirt.git/commit
storage: Use VIR_AUTOFREE for storage util
authorJohn Ferlan <jferlan@redhat.com>
Thu, 31 Jan 2019 19:18:51 +0000 (14:18 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 12 Feb 2019 13:51:23 +0000 (08:51 -0500)
commite96c47516cc5d51500e54a6c168f4a3b03f8d0d1
treea421e38b48f55e5c839c5e2f1c6579b2378abd89
parent65fc17d2f629317c1c4ec7b41109dcf6e3a95cd2
storage: Use VIR_AUTOFREE for storage util

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_util.c