mirror of
https://github.com/reactos/reactos.git
synced 2024-10-16 06:04:13 +00:00
[SERVICES]
Fix handles leaks svn path=/trunk/; revision=56168
This commit is contained in:
parent
97400232da
commit
0316c016e3
|
@ -260,6 +260,8 @@ ScmCreateNamedPipe(VOID)
|
||||||
DPRINT("CreateNamedPipe() - returning FALSE\n");
|
DPRINT("CreateNamedPipe() - returning FALSE\n");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CloseHandle(hThread);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -316,6 +318,8 @@ StartScmNamedPipeThreadListener(VOID)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CloseHandle(hThread);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue