mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +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
5b26fb530b
commit
0c9881782b
3 changed files with 18 additions and 33 deletions
|
|
@ -84,7 +84,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