]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Cleanup matchFCHostToSCSIHost
authorJohn Ferlan <jferlan@redhat.com>
Mon, 20 Feb 2017 18:59:36 +0000 (13:59 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 21 Feb 2017 15:52:20 +0000 (10:52 -0500)
commit0a6cb28b9ad45ebe8c267e67b220bbf5e3bbd4f3
treefc1287a4771a1fe3b8f17b9173a4927a87d51ca7
parente22de286b11350ab03064ae8a9387fd906fef3df
conf: Cleanup matchFCHostToSCSIHost

Rather than the inlined VIR_FREE's, use a cleanup: label... Fixes an
issue introduced by 03346def where @name was free'd before usage in
a virAsprintf to format scsi_host_name.
src/conf/storage_conf.c