[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(); 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 */

View file

@ -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);
} }