ntdll: Free TLS pointers when exiting thread.
This commit is contained in:
parent
2d3504c309
commit
201f469512
|
@ -1908,6 +1908,7 @@ void WINAPI LdrShutdownThread(void)
|
|||
}
|
||||
|
||||
RtlLeaveCriticalSection( &loader_section );
|
||||
RtlFreeHeap( GetProcessHeap(), 0, NtCurrentTeb()->ThreadLocalStoragePointer );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue