projects
/
moonshot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't release TLS data in DLL_PROCESS_DETACH
[moonshot.git]
/
moonshot
/
mech_eap
/
util_tld.c
diff --git
a/moonshot/mech_eap/util_tld.c
b/moonshot/mech_eap/util_tld.c
index
e3710f9
..
a30f5f3
100644
(file)
--- a/
moonshot/mech_eap/util_tld.c
+++ b/
moonshot/mech_eap/util_tld.c
@@
-99,10
+99,6
@@
DllMain(HINSTANCE hDLL, /* DLL module handle */
}
break;
case DLL_PROCESS_DETACH:
- /* Release the allocated memory for this thread. */
- tlsData = TlsGetValue(tlsIndex);
- if (tlsData != NULL)
- destroyThreadLocalData(tlsData);
/* Release the TLS index. */
TlsFree(tlsIndex);
gssEapFinalize();