[BOOTLIB]: Fix bug in MmPapFreePhysicalPages.
authorAlex Ionescu <aionescu@gmail.com>
Sun, 5 Feb 2017 22:03:27 +0000 (22:03 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Sun, 5 Feb 2017 22:03:27 +0000 (22:03 +0000)
svn path=/trunk/; revision=73719

reactos/boot/environ/lib/mm/pagealloc.c

index dd6f915..70138e2 100644 (file)
@@ -712,7 +712,7 @@ MmPapFreePhysicalPages (
     else if (!DontFree)
     {
         /* Caller wants memory to be freed -- should we zero it? */
-        if (!(HasPageData) &
+        if (!(HasPageData) &&
             (LibraryParameters.LibraryFlags &
              BL_LIBRARY_FLAG_ZERO_HEAP_ALLOCATIONS_ON_FREE))
         {