summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-11-04 13:56:12 (GMT)
committerBrad King <brad.king@kitware.com>2003-11-04 13:56:12 (GMT)
commit8f8cc16ea3b96faad38c76a9f062bcd89d0b5877 (patch)
tree5b94b4e5d14ee0d287202a3deecb4ba8786904e6 /Source/kwsys
parent0169ccf15719d81a4799fdd8b51fee6a318f7d80 (diff)
downloadCMake-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')
-rw-r--r--Source/kwsys/ProcessWin32.c1
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;
}
}