https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f18fb7da0918f48310c9ceeaffe7df7d2e300017
commit f18fb7da0918f48310c9ceeaffe7df7d2e300017 Author: Stanislav Motylkov <x86co...@gmail.com> AuthorDate: Thu Dec 30 01:54:09 2021 +0300 Commit: Stanislav Motylkov <x86co...@gmail.com> CommitDate: Thu Dec 30 01:54:09 2021 +0300 [NTOS:MM] Unrefernece some dereferences --- ntoskrnl/mm/ARM3/virtual.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ntoskrnl/mm/ARM3/virtual.c b/ntoskrnl/mm/ARM3/virtual.c index 9cb0cacf23b..abe0e810074 100644 --- a/ntoskrnl/mm/ARM3/virtual.c +++ b/ntoskrnl/mm/ARM3/virtual.c @@ -1842,7 +1842,7 @@ MiQueryMemoryBasicInformation(IN HANDLE ProcessHandle, /* Check if we were attached */ if (ProcessHandle != NtCurrentProcess()) { - /* Detach and derefernece the process */ + /* Detach and dereference the process */ KeUnstackDetachProcess(&ApcState); ObDereferenceObject(TargetProcess); } @@ -1955,7 +1955,7 @@ MiQueryMemoryBasicInformation(IN HANDLE ProcessHandle, /* Check if we were attached */ if (ProcessHandle != NtCurrentProcess()) { - /* Detach and derefernece the process */ + /* Detach and dereference the process */ KeUnstackDetachProcess(&ApcState); ObDereferenceObject(TargetProcess); } @@ -5617,7 +5617,7 @@ FinalPath: goto FinalPath; // - // In the failure path, we detach and derefernece the target process, and + // In the failure path, we detach and dereference the target process, and // return whatever failure code was sent. // FailPath: