From: Wen Congyang Date: Mon, 21 Mar 2011 06:29:35 +0000 (+0800) Subject: do not report OOM error when prepareCall() failed X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3c2b210a3c7d21474e4e9a2833fab2096ef0d98d;p=libvirt.git do not report OOM error when prepareCall() failed We have reported error in the function prepareCall(), and the error is not only OOM error. So we should not report OOM error in the function call() when prepareCall() failed. --- diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c index b844d9a0ee..5f3e288279 100644 --- a/src/remote/remote_driver.c +++ b/src/remote/remote_driver.c @@ -10832,7 +10832,6 @@ call (virConnectPtr conn, struct private_data *priv, ret_filter, ret); if (!thiscall) { - virReportOOMError(); return -1; }