Module: wine Branch: refs/heads/master Commit: 201f46951286801cb0b73b92313c08a41b141889 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=201f46951286801cb0b73b92...
Author: Eric Pouech eric.pouech@wanadoo.fr Date: Fri May 26 12:10:41 2006 +0200
ntdll: Free TLS pointers when exiting thread.
---
dlls/ntdll/loader.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c index eaf7cfa..f5022e1 100644 --- a/dlls/ntdll/loader.c +++ b/dlls/ntdll/loader.c @@ -1908,6 +1908,7 @@ void WINAPI LdrShutdownThread(void) }
RtlLeaveCriticalSection( &loader_section ); + RtlFreeHeap( GetProcessHeap(), 0, NtCurrentTeb()->ThreadLocalStoragePointer ); }