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

This commit is contained in:
Matthias Bolte
2011-04-14 13:06:37 +02:00
parent d765a6f071
commit e69aa73339
+1 -1
View File
@@ -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);