DCOM: unref stub after invoking on it
Mike Hearn
mh at codeweavers.com
Thu Jul 22 12:27:07 CDT 2004
This patch is against CVS *not* my previous patch, so you may want to
apply this first, sorry ...
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:22:38 -0000
@@ -297,6 +297,8 @@ _invoke_onereq(wine_rpc_request *req) {
msg.iMethod = req->reqh.iMethod;
msg.cbBuffer = req->reqh.cbBuffer;
req->state = REQSTATE_INVOKING;
+
+ IUnknown_Release(stub);
req->resph.retval = IRpcStubBuffer_Invoke(stub,&msg,NULL);
req->Buffer = msg.Buffer;
req->resph.cbBuffer = msg.cbBuffer;
More information about the wine-patches
mailing list