]> xenbits.xensource.com Git - libvirt.git/commit
qemuProcessSEVCreateFile: use a cleanup label
authorJán Tomko <jtomko@redhat.com>
Tue, 12 Jun 2018 11:39:42 +0000 (13:39 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 14 Jun 2018 07:04:51 +0000 (09:04 +0200)
commit6718132d785c8c07f1402fe89fd4ead99fa94895
tree556c5e7f34171015d37cc93036efc1e194181282
parent2555749fd61db7368248a889e8c0b83f526149c9
qemuProcessSEVCreateFile: use a cleanup label

A common cleanup path for both the success and the error case.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Brijesh Singh <brijesh.singh@amd.com>
Tested-by: Brijesh Singh <brijesh.singh@amd.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_process.c