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

This commit is contained in:
Hermès Bélusca-Maïto
2022-11-14 00:10:30 +01:00
parent 1dd9d2ef37
commit 9c8a8cf2aa
2 changed files with 3 additions and 3 deletions
+1 -1
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 */
+2 -2
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);
}