diff options
author | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2009-03-03 22:55:00 +0000 |
---|---|---|
committer | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2009-03-03 22:55:00 +0000 |
commit | 857c00e0fd026433962a95d1f4551fcde88e601c (patch) | |
tree | 04965216c3d4edd1b0d408ebd7a78f326ea8ebed /PC/_subprocess.c | |
parent | a97bed9572c9c13c33195c38d09a1d1f02ef8ad2 (diff) | |
download | cpython-git-857c00e0fd026433962a95d1f4551fcde88e601c.tar.gz |
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.
........
Diffstat (limited to 'PC/_subprocess.c')
-rw-r--r-- | PC/_subprocess.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/_subprocess.c b/PC/_subprocess.c index f2c6b92090..bb240e107e 100644 --- a/PC/_subprocess.c +++ b/PC/_subprocess.c @@ -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); |