Unref stub after invoking on it.

This commit is contained in:
Mike Hearn 2004-07-22 19:43:27 +00:00 committed by Alexandre Julliard
parent a13e313fec
commit 602cce0ebf
1 changed files with 1 additions and 0 deletions

View File

@ -298,6 +298,7 @@ _invoke_onereq(wine_rpc_request *req) {
msg.cbBuffer = req->reqh.cbBuffer;
req->state = REQSTATE_INVOKING;
req->resph.retval = IRpcStubBuffer_Invoke(stub,&msg,NULL);
IUnknown_Release(stub);
req->Buffer = msg.Buffer;
req->resph.cbBuffer = msg.cbBuffer;
reqtype = REQTYPE_RESPONSE;