Commit 460f8989 authored by Alexandre Julliard's avatar Alexandre Julliard

msctf: Don't bother to free thread local storage at process exit.

parent ed8a38d4
...@@ -526,6 +526,7 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD fdwReason, LPVOID fImpLoad) ...@@ -526,6 +526,7 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD fdwReason, LPVOID fImpLoad)
tlsIndex = TlsAlloc(); tlsIndex = TlsAlloc();
break; break;
case DLL_PROCESS_DETACH: case DLL_PROCESS_DETACH:
if (fImpLoad) break;
TlsFree(tlsIndex); TlsFree(tlsIndex);
break; break;
} }
......
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