diff --git a/dlls/urlmon/bindprot.c b/dlls/urlmon/bindprot.c index c7e62f90fee..6b175f630c6 100644 --- a/dlls/urlmon/bindprot.c +++ b/dlls/urlmon/bindprot.c @@ -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; }