mirror of
https://github.com/reactos/reactos.git
synced 2024-05-21 21:02:07 +00:00
[CSRSRV][NTOS:PS] Misc typos fixes.
This commit is contained in:
parent
1dd9d2ef37
commit
9c8a8cf2aa
|
@ -375,7 +375,7 @@ PspCreateThread(OUT PHANDLE ThreadHandle,
|
||||||
KeEnterCriticalRegion();
|
KeEnterCriticalRegion();
|
||||||
ExAcquirePushLockExclusive(&Process->ProcessLock);
|
ExAcquirePushLockExclusive(&Process->ProcessLock);
|
||||||
|
|
||||||
/* Make sure the proces didn't just die on us */
|
/* Make sure the process didn't just die on us */
|
||||||
if (Process->ProcessDelete) goto Quickie;
|
if (Process->ProcessDelete) goto Quickie;
|
||||||
|
|
||||||
/* Check if the thread was ours, terminated and it was user mode */
|
/* Check if the thread was ours, terminated and it was user mode */
|
||||||
|
|
|
@ -127,7 +127,7 @@ CsrProcessRefcountZero(IN PCSR_PROCESS CsrProcess)
|
||||||
if (CsrProcess->NtSession)
|
if (CsrProcess->NtSession)
|
||||||
{
|
{
|
||||||
/* Dereference the Session */
|
/* Dereference the Session */
|
||||||
CsrDereferenceNtSession(CsrProcess->NtSession, 0);
|
CsrDereferenceNtSession(CsrProcess->NtSession, STATUS_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Close the Client Port if there is one */
|
/* Close the Client Port if there is one */
|
||||||
|
@ -136,7 +136,7 @@ CsrProcessRefcountZero(IN PCSR_PROCESS CsrProcess)
|
||||||
/* Close the process handle */
|
/* Close the process handle */
|
||||||
NtClose(CsrProcess->ProcessHandle);
|
NtClose(CsrProcess->ProcessHandle);
|
||||||
|
|
||||||
/* Free the Proces Object */
|
/* Free the Process Object */
|
||||||
CsrDeallocateProcess(CsrProcess);
|
CsrDeallocateProcess(CsrProcess);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue