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.
This commit is contained in:
Wen Congyang 2011-03-21 14:29:35 +08:00 committed by Eric Blake
parent 8351358fb4
commit 3c2b210a3c

View File

@ -10832,7 +10832,6 @@ call (virConnectPtr conn, struct private_data *priv,
ret_filter, ret);
if (!thiscall) {
virReportOOMError();
return -1;
}