urlmon: LockModule in create_binding_protocol as we ReleaseModule when the object is released.
This commit is contained in:
parent
414ddfa671
commit
f5ed5a7f48
|
@ -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 New Issue