projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaeb01a
)
Added closing of process handle at exit.
author
Hartmut Birr
<osexpert@googlemail.com>
Mon, 1 Apr 2002 21:56:56 +0000
(21:56 +0000)
committer
Hartmut Birr
<osexpert@googlemail.com>
Mon, 1 Apr 2002 21:56:56 +0000
(21:56 +0000)
svn path=/trunk/; revision=2802
reactos/lib/msvcrt/process/_cwait.c
patch
|
blob
|
history
diff --git
a/reactos/lib/msvcrt/process/_cwait.c
b/reactos/lib/msvcrt/process/_cwait.c
index
d1a71ce
..
d4df111
100644
(file)
--- a/
reactos/lib/msvcrt/process/_cwait.c
+++ b/
reactos/lib/msvcrt/process/_cwait.c
@@
-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;
}