]> xenbits.xensource.com Git - libvirt.git/commitdiff
do not report OOM error when prepareCall() failed
authorWen Congyang <wency@cn.fujitsu.com>
Mon, 21 Mar 2011 06:29:35 +0000 (14:29 +0800)
committerEric Blake <eblake@redhat.com>
Mon, 21 Mar 2011 15:28:25 +0000 (09:28 -0600)
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.

src/remote/remote_driver.c

index b844d9a0eecc2c5ef64a4666e1de2fc01d8a5f52..5f3e288279b296383a2b07bf233000cb3765f2ce 100644 (file)
@@ -10832,7 +10832,6 @@ call (virConnectPtr conn, struct private_data *priv,
                            ret_filter, ret);
 
     if (!thiscall) {
-        virReportOOMError();
         return -1;
     }