mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-04 16:03:49 +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)
|
else if (mode == VSH_CMD_BLOCK_JOB_PULL)
|
||||||
ret = virDomainBlockPull(dom, path, bandwidth, 0);
|
ret = virDomainBlockPull(dom, path, bandwidth, 0);
|
||||||
|
|
||||||
out:
|
cleanup:
|
||||||
if (dom)
|
if (dom)
|
||||||
virDomainFree(dom);
|
virDomainFree(dom);
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user