mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix leaking handle.
Thanks to ilya77 at gmail dot com
This commit is contained in:
parent
a59551d771
commit
be4778b87e
1 changed files with 1 additions and 0 deletions
|
@ -219,6 +219,7 @@ static void proc_open_rsrc_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
|
|||
WaitForSingleObject(proc->child, INFINITE);
|
||||
GetExitCodeProcess(proc->child, &wstatus);
|
||||
FG(pclose_ret) = wstatus;
|
||||
CloseHandle(proc->child);
|
||||
|
||||
#elif HAVE_SYS_WAIT_H
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue