Eric Pouech : ntdll: Free TLS pointers when exiting thread.
27 May
2006
27 May
'06
11:34 a.m.
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(a)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 ); }
7142
Age (days ago)
7142
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard