ole32: Add a reference to the stream in RPC_StartLocalServer since we

release a reference to it when the local server thread dies.
This commit is contained in:
Robert Shearman 2006-08-31 17:19:49 +01:00 committed by Alexandre Julliard
parent 03510be55b
commit 6bf6caa69d

View file

@ -1007,6 +1007,7 @@ void RPC_StartLocalServer(REFCLSID clsid, IStream *stream)
lsp->clsid = *clsid;
lsp->stream = stream;
IStream_AddRef(stream);
thread = CreateThread(NULL, 0, local_server_thread, lsp, 0, &tid);
CloseHandle(thread);