mirror of https://gitee.com/openkylin/libvirt.git
virsh-domain: Free dom before return false in cmdDump
This commit is contained in:
parent
59e21e973f
commit
7db19ff9ab
|
@ -4488,7 +4488,7 @@ cmdDump(vshControl *ctl, const vshCmd *cmd)
|
|||
return false;
|
||||
|
||||
if (vshCommandOptStringReq(ctl, cmd, "file", &to) < 0)
|
||||
return false;
|
||||
goto cleanup;
|
||||
|
||||
if (vshCommandOptBool(cmd, "verbose"))
|
||||
verbose = true;
|
||||
|
|
Loading…
Reference in New Issue