]> xenbits.xensource.com Git - libvirt.git/commit
storage: Use VIR_AUTOFREE for storage driver
authorJohn Ferlan <jferlan@redhat.com>
Thu, 31 Jan 2019 18:41:29 +0000 (13:41 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 12 Feb 2019 13:51:23 +0000 (08:51 -0500)
commit38362460ddadb8449ad5c07403e613152c48bdc7
treeb390419b285da1ed619581f35c389a7001c549d0
parent5028781621e47a90655de641a5ea35cbc952997f
storage: Use VIR_AUTOFREE for storage driver

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