Author: pschweitzer
Date: Mon Sep 7 18:11:30 2015
New Revision: 69096
URL:
http://svn.reactos.org/svn/reactos?rev=69096&view=rev
Log:
[WINLOGON]
Fix a handle leak
Modified:
trunk/reactos/base/system/winlogon/setup.c
Modified: trunk/reactos/base/system/winlogon/setup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/setup…
==============================================================================
--- trunk/reactos/base/system/winlogon/setup.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/winlogon/setup.c [iso-8859-1] Mon Sep 7 18:11:30 2015
@@ -155,6 +155,8 @@
NULL,
0,
NULL);
+ if (hThread != NULL)
+ CloseHandle(hThread);
return hThread != NULL;
}