diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c index f9e8dead256..020fe2ca36f 100644 --- a/dlls/wininet/internet.c +++ b/dlls/wininet/internet.c @@ -287,15 +287,16 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) g_dwTlsErrIndex = TlsAlloc(); - if (g_dwTlsErrIndex == TLS_OUT_OF_INDEXES) - return FALSE; + if (g_dwTlsErrIndex == TLS_OUT_OF_INDEXES) + return FALSE; URLCacheContainers_CreateDefaults(); WININET_hModule = hinstDLL; + break; case DLL_THREAD_ATTACH: - break; + break; case DLL_THREAD_DETACH: if (g_dwTlsErrIndex != TLS_OUT_OF_INDEXES)