mirror of
https://github.com/reactos/reactos.git
synced 2026-05-23 15:50:29 +08:00
[NTOS:MM] Fix broken ASSERT. CID 701285
This commit is contained in:
@@ -5490,8 +5490,8 @@ FinalPath:
|
||||
AlreadyDecommitted;
|
||||
|
||||
ASSERT(CommitReduction >= 0);
|
||||
ASSERT(Vad->u.VadFlags.CommitCharge >= CommitReduction);
|
||||
Vad->u.VadFlags.CommitCharge -= CommitReduction;
|
||||
ASSERT(Vad->u.VadFlags.CommitCharge >= 0);
|
||||
|
||||
//
|
||||
// We are done, go to the exit path without freeing the VAD as it remains
|
||||
|
||||
Reference in New Issue
Block a user