[BOOTLIB]: Fix bug in MmPapFreePhysicalPages.

svn path=/trunk/; revision=73719
This commit is contained in:
Alex Ionescu 2017-02-05 22:03:27 +00:00
parent 481f7c440a
commit 968d02e55c

View file

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