virsh: be careful to return "FALSE" upon OOM

* tools/virsh.c (cmdCPUBaseline): Add an explicit "return" statement
after the "no_memory:" label.
This commit is contained in:
Jim Meyering 2010-02-18 11:05:38 +01:00
parent 3f8de891c5
commit 62f4ae153b

View File

@ -7141,6 +7141,7 @@ cleanup:
no_memory:
vshError(ctl, "%s", _("Out of memory"));
ret = FALSE;
return ret;
}
/* Common code for the edit / net-edit / pool-edit functions which follow. */