BUG: Removed CloseHandle in case of error in DuplicateHandle. According to documentation, DuplicateHandle will close the source handle regardless of error condition.

This commit is contained in:
Brad King 2003-11-04 08:56:12 -05:00
parent 0169ccf157
commit 8f8cc16ea3
1 changed files with 0 additions and 1 deletions

View File

@ -757,7 +757,6 @@ void kwsysProcess_Execute(kwsysProcess* cp)
DUPLICATE_SAME_ACCESS)))
{
kwsysProcessCleanup(cp, 1);
CloseHandle(writeEnd);
return;
}
}