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; }