[NTOS:MM]
authorThomas Faber <thomas.faber@reactos.org>
Tue, 18 Aug 2015 11:28:30 +0000 (11:28 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Tue, 18 Aug 2015 11:28:30 +0000 (11:28 +0000)
- Leave guarded region in failure case of MiFindContiguousPages.
CORE-10026 #resolve

svn path=/trunk/; revision=68753

reactos/ntoskrnl/mm/ARM3/contmem.c

index c86dbfc..b250ebc 100644 (file)
@@ -205,6 +205,7 @@ MiFindContiguousPages(IN PFN_NUMBER LowestPfn,
     //
     // And if we get here, it means no suitable physical memory runs were found
     //
     //
     // And if we get here, it means no suitable physical memory runs were found
     //
+    KeLeaveGuardedRegion();
     return 0;
 }
 
     return 0;
 }