ntdll: Free TLS pointers when exiting thread.

This commit is contained in:
Eric Pouech 2006-05-26 12:10:41 +02:00 committed by Alexandre Julliard
parent 2d3504c309
commit 201f469512
1 changed files with 1 additions and 0 deletions

View File

@ -1908,6 +1908,7 @@ void WINAPI LdrShutdownThread(void)
}
RtlLeaveCriticalSection( &loader_section );
RtlFreeHeap( GetProcessHeap(), 0, NtCurrentTeb()->ThreadLocalStoragePointer );
}