mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOS:MM] Unrefernece some dereferences
This commit is contained in:
parent
84a4efa491
commit
f18fb7da09
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue