[CSRSRV][NTOS:PS] Misc typos fixes.

This commit is contained in:
Hermès Bélusca-Maïto 2022-11-03 18:03:43 +01:00
parent 1dd9d2ef37
commit 9c8a8cf2aa
No known key found for this signature in database
GPG Key ID: 3B2539C65E7B93D0
2 changed files with 3 additions and 3 deletions

View File

@ -375,7 +375,7 @@ PspCreateThread(OUT PHANDLE ThreadHandle,
KeEnterCriticalRegion();
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;
/* Check if the thread was ours, terminated and it was user mode */

View File

@ -127,7 +127,7 @@ CsrProcessRefcountZero(IN PCSR_PROCESS CsrProcess)
if (CsrProcess->NtSession)
{
/* Dereference the Session */
CsrDereferenceNtSession(CsrProcess->NtSession, 0);
CsrDereferenceNtSession(CsrProcess->NtSession, STATUS_SUCCESS);
}
/* Close the Client Port if there is one */
@ -136,7 +136,7 @@ CsrProcessRefcountZero(IN PCSR_PROCESS CsrProcess)
/* Close the process handle */
NtClose(CsrProcess->ProcessHandle);
/* Free the Proces Object */
/* Free the Process Object */
CsrDeallocateProcess(CsrProcess);
}