]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Use VIR_AUTOFREE for storage_conf
authorJohn Ferlan <jferlan@redhat.com>
Thu, 31 Jan 2019 13:20:02 +0000 (08:20 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 12 Feb 2019 13:51:23 +0000 (08:51 -0500)
commita1c453dc08871e1a353e4d51f597d0315b2016a0
treeaed2fdb43d1e750a7f1dfeb480d8fef3dc39b7d6
parentc75e615d3ed1e26cfa9b0e332d6137e2ef575860
conf: Use VIR_AUTOFREE for storage_conf

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/storage_conf.c