phyp: Don't overwrite error from virDomainDeviceDefParse by OOM error

This commit is contained in:
Matthias Bolte 2011-04-09 11:59:11 +02:00
parent e69aa73339
commit e13e1f4f5d

View File

@ -1971,7 +1971,6 @@ phypAttachDevice(virDomainPtr domain, const char *xml)
dev = virDomainDeviceDefParse(phyp_driver->caps, def, xml,
VIR_DOMAIN_XML_INACTIVE);
if (!dev) {
virReportOOMError();
goto cleanup;
}