Commit c60c28cf authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

ole32: If IRpcStubBuffer_Invoke fails, we should raise an exception to

tell the RPC runtime that the call failed.
parent 3d4e9d6a
......@@ -569,9 +569,14 @@ static void __RPC_STUB dispatch_rpc(RPC_MESSAGE *msg)
}
}
hr = params->hr;
HeapFree(GetProcessHeap(), 0, params);
apartment_release(apt);
/* if IRpcStubBuffer_Invoke fails, we should raise an exception to tell
* the RPC runtime that the call failed */
if (hr) RpcRaiseException(hr);
}
/* stub registration */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment