mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-08 04:52:10 -05:00
launcher: SvcInstanceCreateProcess: fix checking wrong handle
This commit is contained in:
parent
98f809345d
commit
a0801674c4
@ -863,7 +863,7 @@ exit:
|
|||||||
{
|
{
|
||||||
if (INVALID_HANDLE_VALUE != ParentHandles[0])
|
if (INVALID_HANDLE_VALUE != ParentHandles[0])
|
||||||
CloseHandle(ParentHandles[0]);
|
CloseHandle(ParentHandles[0]);
|
||||||
if (INVALID_HANDLE_VALUE != ParentHandles[0])
|
if (INVALID_HANDLE_VALUE != ParentHandles[1])
|
||||||
CloseHandle(ParentHandles[1]);
|
CloseHandle(ParentHandles[1]);
|
||||||
}
|
}
|
||||||
else if (0 != StdioHandles)
|
else if (0 != StdioHandles)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user