mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
Added closing of process handle at exit.
svn path=/trunk/; revision=2802
This commit is contained in:
parent
aaeb01a3e1
commit
4d142d61ac
1 changed files with 1 additions and 0 deletions
|
@ -27,5 +27,6 @@ int _cwait(int* pnStatus, int hProc, int nAction)
|
|||
return -1;
|
||||
if (pnStatus != NULL)
|
||||
*pnStatus = (int)ExitCode;
|
||||
CloseHandle((HANDLE)hProc);
|
||||
return hProc;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue