summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/evil/evil_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evil/evil_main.c b/src/lib/evil/evil_main.c
index 07dcd4a06d..cd7fde8555 100644
--- a/src/lib/evil/evil_main.c
+++ b/src/lib/evil/evil_main.c
@@ -100,6 +100,8 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
100 _evil_tls_index = TlsAlloc(); 100 _evil_tls_index = TlsAlloc();
101 if (_evil_tls_index == TLS_OUT_OF_INDEXES) 101 if (_evil_tls_index == TLS_OUT_OF_INDEXES)
102 return FALSE; 102 return FALSE;
103 /* No break: Initialize the index for first thread. */
104 /* fall through */
103 case DLL_THREAD_ATTACH: 105 case DLL_THREAD_ATTACH:
104 data = (LPVOID)LocalAlloc(LPTR, 4096); 106 data = (LPVOID)LocalAlloc(LPTR, 4096);
105 if (!data) 107 if (!data)