From f18fb7da0918f48310c9ceeaffe7df7d2e300017 Mon Sep 17 00:00:00 2001 From: Stanislav Motylkov Date: Thu, 30 Dec 2021 01:54:09 +0300 Subject: [PATCH] [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: