From: Matthias Bolte Date: Sat, 9 Apr 2011 09:59:11 +0000 (+0200) Subject: phyp: Don't overwrite error from virDomainDeviceDefParse by OOM error X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=e13e1f4f5d7c9de4fe9ef528e99bda259eee2b8f;p=libvirt.git phyp: Don't overwrite error from virDomainDeviceDefParse by OOM error --- diff --git a/src/phyp/phyp_driver.c b/src/phyp/phyp_driver.c index 2d8bfef4d7..9b412e2363 100644 --- a/src/phyp/phyp_driver.c +++ b/src/phyp/phyp_driver.c @@ -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; }