From 16f6ff9824c3c4192affbeb71d10238d792bfca7 Mon Sep 17 00:00:00 2001 From: wypb Date: Wed, 19 Jun 2024 16:09:42 +0800 Subject: [PATCH] Fix HashStringAllocator --- velox/common/memory/HashStringAllocator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/velox/common/memory/HashStringAllocator.cpp b/velox/common/memory/HashStringAllocator.cpp index 8ec60aaef90f6..6496733b2e007 100644 --- a/velox/common/memory/HashStringAllocator.cpp +++ b/velox/common/memory/HashStringAllocator.cpp @@ -129,7 +129,7 @@ void HashStringAllocator::clear() { if (header->isFree()) { // No-op } else { - // Continued block & free block + // Continued block & Non-free block. cumulativeBytes_ -= header->size() + sizeof(Header); } header = reinterpret_cast(header->end());