mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 13:27:35 +00:00
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:
parent
03510be55b
commit
6bf6caa69d
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue