mirror of
https://github.com/python/cpython.git
synced 2025-08-19 00:00:48 +00:00
Merged revisions 70137 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r70137 | hirokazu.yamamoto | 2009-03-04 07:18:14 +0900 | 1 line Issue #5179: Fixed subprocess handle leak on failure on windows. ........
This commit is contained in:
parent
a97bed9572
commit
857c00e0fd
3 changed files with 18 additions and 33 deletions
|
@ -87,7 +87,7 @@ sp_handle_detach(sp_handle_object* self, PyObject* args)
|
|||
|
||||
handle = self->handle;
|
||||
|
||||
self->handle = NULL;
|
||||
self->handle = INVALID_HANDLE_VALUE;
|
||||
|
||||
/* note: return the current handle, as an integer */
|
||||
return HANDLE_TO_PYNUM(handle);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue