From 0f004c15defdd90391e831068de09cfc2827dfbd Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Mon, 7 Sep 2015 18:11:30 +0000 Subject: [PATCH] [WINLOGON] Fix a handle leak svn path=/trunk/; revision=69096 --- reactos/base/system/winlogon/setup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/base/system/winlogon/setup.c b/reactos/base/system/winlogon/setup.c index 872f3cb7a59..9cb47029605 100644 --- a/reactos/base/system/winlogon/setup.c +++ b/reactos/base/system/winlogon/setup.c @@ -155,6 +155,8 @@ RunSetup(VOID) NULL, 0, NULL); + if (hThread != NULL) + CloseHandle(hThread); return hThread != NULL; }