https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c4801ab696d9fb2dfdd38…
commit c4801ab696d9fb2dfdd383741af3b34a73aa9a17
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Fri Aug 6 15:18:21 2021 +0200
Commit: Jérôme Gardou <jerome.gardou(a)reactos.org>
CommitDate: Fri Aug 6 15:18:21 2021 +0200
[WIN32K] Do not release twice the lock on error path
---
win32ss/user/ntuser/main.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/win32ss/user/ntuser/main.c b/win32ss/user/ntuser/main.c
index 8f593d02fff..00a683af61c 100644
--- a/win32ss/user/ntuser/main.c
+++ b/win32ss/user/ntuser/main.c
@@ -995,7 +995,6 @@ DriverEntry(
if (!gpsi)
{
DPRINT1("Failed allocate server info structure!\n");
- UserLeave();
return STATUS_UNSUCCESSFUL;
}