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

This commit is contained in:
Misha Koshelev 2007-07-24 00:15:19 -05:00 committed by Alexandre Julliard
parent 414ddfa671
commit f5ed5a7f48
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}