diff options
author | Brad King <brad.king@kitware.com> | 2003-11-04 13:56:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-11-04 13:56:12 (GMT) |
commit | 8f8cc16ea3b96faad38c76a9f062bcd89d0b5877 (patch) | |
tree | 5b94b4e5d14ee0d287202a3deecb4ba8786904e6 /Source/kwsys/ProcessWin32.c | |
parent | 0169ccf15719d81a4799fdd8b51fee6a318f7d80 (diff) | |
download | CMake-8f8cc16ea3b96faad38c76a9f062bcd89d0b5877.zip CMake-8f8cc16ea3b96faad38c76a9f062bcd89d0b5877.tar.gz CMake-8f8cc16ea3b96faad38c76a9f062bcd89d0b5877.tar.bz2 |
BUG: Removed CloseHandle in case of error in DuplicateHandle. According to documentation, DuplicateHandle will close the source handle regardless of error condition.
Diffstat (limited to 'Source/kwsys/ProcessWin32.c')
-rw-r--r-- | Source/kwsys/ProcessWin32.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/kwsys/ProcessWin32.c b/Source/kwsys/ProcessWin32.c index 2070203..0749238 100644 --- a/Source/kwsys/ProcessWin32.c +++ b/Source/kwsys/ProcessWin32.c @@ -757,7 +757,6 @@ void kwsysProcess_Execute(kwsysProcess* cp) DUPLICATE_SAME_ACCESS))) { kwsysProcessCleanup(cp, 1); - CloseHandle(writeEnd); return; } } |