mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
virsh: Substitute goto label out with cleanup
Introduced by 241cbc13a, pushed under urgent rule.
This commit is contained in:
parent
241cbc13ac
commit
fb6d616523
@ -5223,7 +5223,7 @@ blockJobImpl(vshControl *ctl, const vshCmd *cmd,
|
||||
else if (mode == VSH_CMD_BLOCK_JOB_PULL)
|
||||
ret = virDomainBlockPull(dom, path, bandwidth, 0);
|
||||
|
||||
out:
|
||||
cleanup:
|
||||
if (dom)
|
||||
virDomainFree(dom);
|
||||
return ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user