mirror of
https://github.com/reactos/reactos.git
synced 2025-04-19 20:19:26 +00:00
[NTOS:KDBG] Correctly balance KeStackAttachProcess with KeUnstackDetachProcess, instead of KeDetachProcess.
This commit is contained in:
parent
579eab8a31
commit
fdf4814ebb
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ KdbpOverwriteInstruction(
|
||||||
/* Detach from process */
|
/* Detach from process */
|
||||||
if (CurrentProcess != Process)
|
if (CurrentProcess != Process)
|
||||||
{
|
{
|
||||||
KeDetachProcess();
|
KeUnstackDetachProcess(&ApcState);
|
||||||
}
|
}
|
||||||
|
|
||||||
return Status;
|
return Status;
|
||||||
|
|
Loading…
Reference in a new issue