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:
Hirokazu Yamamoto 2009-03-03 22:55:00 +00:00
parent a97bed9572
commit 857c00e0fd
3 changed files with 18 additions and 33 deletions

View file

@ -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);