diff options
| author | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2009-03-03 22:41:26 +0000 |
|---|---|---|
| committer | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2009-03-03 22:41:26 +0000 |
| commit | 0c9881782bc1a72fb9fda571bee195c242160de9 (patch) | |
| tree | f5bf7e2e1fab943a0c13c34d5c4feb5a2b3ceee8 /PC | |
| parent | 5b26fb530bd26a63dac42383bbd8d3f4fd4e125a (diff) | |
| download | cpython-git-0c9881782bc1a72fb9fda571bee195c242160de9.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')
| -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 99cbd24459..d0c984398e 100644 --- a/PC/_subprocess.c +++ b/PC/_subprocess.c @@ -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); |
