We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5599318 commit 5429a44Copy full SHA for 5429a44
reactos/ntoskrnl/mm/ARM3/pfnlist.c
@@ -931,11 +931,8 @@ MiDecrementShareCount(IN PMMPFN Pfn1,
931
ASSERT(Pfn1->u3.e2.ReferenceCount != 0);
932
if (Pfn1->u3.e2.ReferenceCount == 1)
933
{
934
- if(Pfn1->u3.e1.PrototypePte == 0)
935
- {
936
- /* In ReactOS, this path should always be hit with a deleted PFN */
937
- ASSERT(MI_IS_PFN_DELETED(Pfn1) == TRUE);
938
- }
+ /* In ReactOS, this path should always be hit with a deleted PFN */
+ ASSERT((MI_IS_PFN_DELETED(Pfn1) == TRUE) || (Pfn1->u3.e1.PrototypePte == 1));
939
940
/* Clear the last reference */
941
Pfn1->u3.e2.ReferenceCount = 0;
0 commit comments