mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
virsh: Fix virDomainFree for NULL domain in blkdeviotune
This commit is contained in:
parent
aaa42912ae
commit
0a24028f11
@ -1130,7 +1130,8 @@ cmdBlkdeviotune(vshControl *ctl, const vshCmd *cmd)
|
||||
|
||||
cleanup:
|
||||
virTypedParamsFree(params, nparams);
|
||||
virDomainFree(dom);
|
||||
if (dom)
|
||||
virDomainFree(dom);
|
||||
return ret;
|
||||
|
||||
save_error:
|
||||
|
Loading…
x
Reference in New Issue
Block a user