Commit f5ed5a7f authored by Misha Koshelev's avatar Misha Koshelev Committed by Alexandre Julliard

urlmon: LockModule in create_binding_protocol as we ReleaseModule when the object is released.

parent 414ddfa6
......@@ -493,6 +493,8 @@ HRESULT create_binding_protocol(LPCWSTR url, IInternetProtocol **protocol)
ret->protocol_sink = NULL;
ret->priority = 0;
URLMON_LockModule();
*protocol = PROTOCOL(ret);
return S_OK;
}
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