From fad85560d5f6e9fa4213f9154a36c95bb31b9ac9 Mon Sep 17 00:00:00 2001 From: Grigoriy Pisarenko Date: Fri, 21 Feb 2025 09:35:16 +0000 Subject: [PATCH] Fixed verify fail under profile memory allocations --- yql/essentials/minikql/aligned_page_pool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/yql/essentials/minikql/aligned_page_pool.cpp b/yql/essentials/minikql/aligned_page_pool.cpp index fa40200fb18b..e0ef23850fc6 100644 --- a/yql/essentials/minikql/aligned_page_pool.cpp +++ b/yql/essentials/minikql/aligned_page_pool.cpp @@ -460,6 +460,7 @@ void TAlignedPagePoolImpl::ReturnPage(void* addr) noexcept { #if defined(ALLOW_DEFAULT_ALLOCATOR) if (Y_UNLIKELY(IsDefaultAllocator)) { ReturnBlock(addr, POOL_PAGE_SIZE); + AllPages.erase(addr); return; } #endif