From c4801ab696d9fb2dfdd383741af3b34a73aa9a17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Fri, 6 Aug 2021 15:18:21 +0200 Subject: [PATCH] [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; }