mirror of https://gitee.com/openkylin/libvirt.git
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…
Reference in New Issue