diff options
author | Wez Furlong <wez@php.net> | 2004-11-10 20:28:27 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2004-11-10 20:28:27 +0000 |
commit | 2c14b8fd21094682ca94c53aec286dd3d3c4ae2d (patch) | |
tree | 6d2a7a6a18f5844c24cab246e5b83646770a6fdd | |
parent | 4c04d243daff1cb34644b73d10fba29ff861c098 (diff) | |
download | php-git-2c14b8fd21094682ca94c53aec286dd3d3c4ae2d.tar.gz |
MFH: CloseHandle
-rw-r--r-- | ext/standard/exec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c index 8fa7bfb024..3619e73850 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -602,6 +602,7 @@ static void proc_open_rsrc_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC) WaitForSingleObject(child, INFINITE); GetExitCodeProcess(child, &wstatus); FG(pclose_ret) = wstatus; + CloseHandle(child); #else # if HAVE_SYS_WAIT_H int wstatus; |