Close handles to shell process/thread

svn path=/trunk/; revision=1829
This commit is contained in:
Phillip Susi 2001-04-26 01:36:32 +00:00
parent 50f5d0807c
commit dff9686ea0

View file

@ -1,4 +1,4 @@
/* $Id: winlogon.c,v 1.4 2001/01/20 18:40:27 ekohl Exp $ /* $Id: winlogon.c,v 1.5 2001/04/26 01:36:32 phreak Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -200,6 +200,8 @@ VOID DoLoginUser(PCHAR Name, PCHAR Password)
return; return;
} }
WaitForSingleObject(ProcessInformation.hProcess, INFINITE); WaitForSingleObject(ProcessInformation.hProcess, INFINITE);
CloseHandle( ProcessInformation.hProcess );
CloseHandle( ProcessInformation.hThread );
} }
int STDCALL int STDCALL