Commit 6bf6caa6 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

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

release a reference to it when the local server thread dies.
parent 03510be5
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment