From 89e717ef0dd7557a072ce42aa5df14cbe21f09d7 Mon Sep 17 00:00:00 2001 From: cxl Date: Mon, 17 Jun 2019 22:03:01 +0000 Subject: [PATCH] Core: Heap improved git-svn-id: svn://ultimatepp.org/upp/trunk@13412 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/lheap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Core/lheap.cpp b/uppsrc/Core/lheap.cpp index 99c6449cb..2f4a9e767 100644 --- a/uppsrc/Core/lheap.cpp +++ b/uppsrc/Core/lheap.cpp @@ -89,7 +89,7 @@ void *Heap::LAlloc(size_t& size) aux.LargeFreeRemoteRaw(); #if 1 ptr = aux.TryLAlloc(i0, wcount); - if(ptr) { + if(ptr) { // found in aux, we need to move large page from aux to this heap LLOG("Found in aux"); BlkPrefix *h = (BlkPrefix *)ptr - 1; while(!h->IsFirst()) // find the start of large page to get page header