commit | eacbbdfb7320e8f0f139f05560e27fefed92f53b | [log] [tgz] |
---|---|---|
author | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | Tue Mar 03 22:18:14 2009 +0000 |
committer | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | Tue Mar 03 22:18:14 2009 +0000 |
tree | 5f87b38dbab07e026a437827a072162824986ae8 | |
parent | 8355155f2298ed5d45ae5381edaf953fceb06b14 [diff] [blame] |
Issue #5179: Fixed subprocess handle leak on failure on windows.
diff --git a/PC/_subprocess.c b/PC/_subprocess.c index f2c6b92..bb240e1 100644 --- a/PC/_subprocess.c +++ b/PC/_subprocess.c
@@ -87,7 +87,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);