- Fix a typo which led to incorrect logic of TLS allocation. This repairs those installers broken by r51051.
See issue #6009 for more details.

svn path=/trunk/; revision=51223
This commit is contained in:
Aleksey Bragin 2011-04-02 09:20:16 +00:00
parent f4f2b68256
commit 1d045ebeb3

View file

@ -786,8 +786,8 @@ LdrpAllocateTls(VOID)
PVOID *TlsVector; PVOID *TlsVector;
/* Check if we have any entries */ /* Check if we have any entries */
if (LdrpNumberOfTlsEntries) if (!LdrpNumberOfTlsEntries)
return 0; return STATUS_SUCCESS;
/* Allocate the vector array */ /* Allocate the vector array */
TlsVector = RtlAllocateHeap(RtlGetProcessHeap(), TlsVector = RtlAllocateHeap(RtlGetProcessHeap(),