[NTOSKRNL] Yet another ASSERT...
authorPierre Schweitzer <pierre@reactos.org>
Sun, 4 Feb 2018 21:02:27 +0000 (22:02 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 4 Feb 2018 21:02:27 +0000 (22:02 +0100)
CORE-14285

ntoskrnl/cc/view.c

index 2e570a1..cf2fc32 100644 (file)
@@ -696,6 +696,7 @@ CcRosUnmapVacb (
         CcRosMarkDirtyVacb(Vacb);
     }
 
+    ASSERT(Vacb->MappedCount != 0);
     Vacb->MappedCount--;
 
     CcRosVacbDecRefCount(Vacb);