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.
........
diff --git a/PC/_subprocess.c b/PC/_subprocess.c
index 99cbd24..d0c9843 100644
--- a/PC/_subprocess.c
+++ b/PC/_subprocess.c
@@ -84,7 +84,7 @@
handle = self->handle;
- self->handle = NULL;
+ self->handle = INVALID_HANDLE_VALUE;
/* note: return the current handle, as an integer */
return HANDLE_TO_PYNUM(handle);