projects
/
mech_eap.orig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a263a7b
)
don't release TLS data in DLL_PROCESS_DETACH
author
Luke Howard
<lukeh@padl.com>
Fri, 16 Sep 2011 05:37:50 +0000
(15:37 +1000)
committer
Luke Howard
<lukeh@padl.com>
Fri, 16 Sep 2011 05:37:50 +0000
(15:37 +1000)
mech_eap/util_tld.c
patch
|
blob
|
history
diff --git
a/mech_eap/util_tld.c
b/mech_eap/util_tld.c
index
e3710f9
..
a30f5f3
100644
(file)
--- a/
mech_eap/util_tld.c
+++ b/
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();