mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 11:31:40 +00:00
[NTDLL]
- 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:
parent
f4f2b68256
commit
1d045ebeb3
1 changed files with 2 additions and 2 deletions
|
@ -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(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue