https://git.reactos.org/?p=reactos.git;a=commitdiff;h=faddd38b36e50c0b52d8c…
commit faddd38b36e50c0b52d8c2ac702486be0b346e59
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Mon Dec 3 20:46:31 2018 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Mon Dec 3 20:48:14 2018 +0100
[KERNEL32] Revert d897e27, which would re-initialized a list.
Spotted by Andrew Boyarshin.
---
dll/win32/kernel32/client/fiber.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/dll/win32/kernel32/client/fiber.c b/dll/win32/kernel32/client/fiber.c
index a1a5ffe5d3..1b1e1e37ac 100644
--- a/dll/win32/kernel32/client/fiber.c
+++ b/dll/win32/kernel32/client/fiber.c
@@ -372,7 +372,6 @@ FlsAlloc(PFLS_CALLBACK_FUNCTION lpCallback)
if (!NtCurrentTeb()->FlsData)
{
NtCurrentTeb()->FlsData = pFlsData;
- InitializeListHead(&Peb->FlsListHead);
InsertTailList(&Peb->FlsListHead,
&pFlsData->ListEntry);
}