提交 e69aa733 编写于 作者: M Matthias Bolte

phyp: Don't try to use a string from a failed virAsprintf

上级 d765a6f0
......@@ -213,7 +213,7 @@ phypGetSystemType(virConnectPtr conn)
if (virAsprintf(&cmd, "lshmc -V") < 0) {
virReportOOMError();
exit_status = -1;
return -1;
}
ret = phypExec(session, cmd, &exit_status, conn);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册