Robert Shearman : ole32:
Add a reference to the stream in RPC_StartLocalServer since we
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Sep 7 05:07:20 CDT 2006
Module: wine
Branch: master
Commit: 6bf6caa69d6beb690227a2da45f940c115eaa0cd
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=6bf6caa69d6beb690227a2da45f940c115eaa0cd
Author: Robert Shearman <rob at codeweavers.com>
Date: Thu Aug 31 17:19:49 2006 +0100
ole32: Add a reference to the stream in RPC_StartLocalServer since we
release a reference to it when the local server thread dies.
---
dlls/ole32/rpc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/ole32/rpc.c b/dlls/ole32/rpc.c
index 32c8318..e7266dc 100644
--- a/dlls/ole32/rpc.c
+++ b/dlls/ole32/rpc.c
@@ -1007,6 +1007,7 @@ void RPC_StartLocalServer(REFCLSID clsid
lsp->clsid = *clsid;
lsp->stream = stream;
+ IStream_AddRef(stream);
thread = CreateThread(NULL, 0, local_server_thread, lsp, 0, &tid);
CloseHandle(thread);
More information about the wine-cvs
mailing list