Commit 8f8cc16e authored by Brad King's avatar Brad King
Browse files

BUG: Removed CloseHandle in case of error in DuplicateHandle. According to...

BUG: Removed CloseHandle in case of error in DuplicateHandle.  According to documentation, DuplicateHandle will close the source handle regardless of error condition.
parent 0169ccf1
......@@ -757,7 +757,6 @@ void kwsysProcess_Execute(kwsysProcess* cp)
DUPLICATE_SAME_ACCESS)))
{
kwsysProcessCleanup(cp, 1);
CloseHandle(writeEnd);
return;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment