Commit 201f4695 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

ntdll: Free TLS pointers when exiting thread.

parent 2d3504c3
......@@ -1908,6 +1908,7 @@ void WINAPI LdrShutdownThread(void)
}
RtlLeaveCriticalSection( &loader_section );
RtlFreeHeap( GetProcessHeap(), 0, NtCurrentTeb()->ThreadLocalStoragePointer );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment