mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[KERNEL32] FlsAlloc - fiber local storage list was not initialized before using
This commit is contained in:
parent
c1b4d51f0b
commit
d897e271a2
1 changed files with 1 additions and 0 deletions
|
@ -372,6 +372,7 @@ FlsAlloc(PFLS_CALLBACK_FUNCTION lpCallback)
|
|||
if (!NtCurrentTeb()->FlsData)
|
||||
{
|
||||
NtCurrentTeb()->FlsData = pFlsData;
|
||||
InitializeListHead(&Peb->FlsListHead);
|
||||
InsertTailList(&Peb->FlsListHead, &pFlsData->ListEntry);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue