提交 62f4ae15 编写于 作者: J Jim Meyering

virsh: be careful to return "FALSE" upon OOM

* tools/virsh.c (cmdCPUBaseline): Add an explicit "return" statement
after the "no_memory:" label.
上级 3f8de891
......@@ -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. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册