Revert something that shouldn't have been committed in 51757
authorJérôme Gardou <jerome.gardou@reactos.org>
Sun, 15 May 2011 12:38:35 +0000 (12:38 +0000)
committerJérôme Gardou <jerome.gardou@reactos.org>
Sun, 15 May 2011 12:38:35 +0000 (12:38 +0000)
svn path=/trunk/; revision=51758

reactos/lib/rtl/heap.c

index 6da4c4e..b0bb0df 100644 (file)
@@ -2645,7 +2645,7 @@ RtlReAllocateHeap(HANDLE HeapPtr,
     {
         RtlEnterHeapLock(Heap->LockVariable);
         HeapLocked = TRUE;
-        Flags &= ~HEAP_NO_SERIALIZE;
+        Flags ^= HEAP_NO_SERIALIZE;
     }
 
     /* Get the pointer to the in-use entry */