mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 11:08:45 +00:00
urlmon: LockModule in create_binding_protocol as we ReleaseModule when the object is released.
This commit is contained in:
parent
414ddfa671
commit
f5ed5a7f48
1 changed files with 2 additions and 0 deletions
|
@ -493,6 +493,8 @@ HRESULT create_binding_protocol(LPCWSTR url, IInternetProtocol **protocol)
|
||||||
ret->protocol_sink = NULL;
|
ret->protocol_sink = NULL;
|
||||||
ret->priority = 0;
|
ret->priority = 0;
|
||||||
|
|
||||||
|
URLMON_LockModule();
|
||||||
|
|
||||||
*protocol = PROTOCOL(ret);
|
*protocol = PROTOCOL(ret);
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue