Author: ion
Date: Sun Feb  5 22:03:27 2017
New Revision: 73719

URL: http://svn.reactos.org/svn/reactos?rev=73719&view=rev
Log:
[BOOTLIB]: Fix bug in MmPapFreePhysicalPages.

Modified:
    trunk/reactos/boot/environ/lib/mm/pagealloc.c

Modified: trunk/reactos/boot/environ/lib/mm/pagealloc.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/lib/mm/pagealloc.c?rev=73719&r1=73718&r2=73719&view=diff
==============================================================================
--- trunk/reactos/boot/environ/lib/mm/pagealloc.c       [iso-8859-1] (original)
+++ trunk/reactos/boot/environ/lib/mm/pagealloc.c       [iso-8859-1] Sun Feb  5 
22:03:27 2017
@@ -712,7 +712,7 @@
     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))
         {


Reply via email to