DCOM: unref stub after invoking on it (take 2)

Mike Hearn mh at codeweavers.com
Thu Jul 22 12:39:33 CDT 2004


This time without it being mangled by stupid copy/paste errors...

Mike Hearn <mh at codeweavers.com>
Unref stub after invoking on it

Index: dlls/ole32/rpc.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/rpc.c,v
retrieving revision 1.15
diff -u -p -r1.15 rpc.c
--- dlls/ole32/rpc.c    15 Jul 2004 22:07:44 -0000      1.15
+++ dlls/ole32/rpc.c    22 Jul 2004 17:35:11 -0000
@@ -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;





More information about the wine-patches mailing list