virsh-domain: Free dom before return false in cmdDump

This commit is contained in:
Hongwei Bi 2013-09-28 06:02:31 +08:00 committed by Peter Krempa
parent 59e21e973f
commit 7db19ff9ab

View File

@ -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;