We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 827a532 commit b8a15b5Copy full SHA for b8a15b5
ydb/library/yql/minikql/mkql_alloc.cpp
@@ -37,7 +37,8 @@ void TAllocState::CleanupPAllocList(TListEntry* root) {
37
for (auto curr = root->Right; curr != root; ) {
38
auto next = curr->Right;
39
auto size = ((TMkqlPAllocHeader*)curr)->Size;
40
- MKQLFreeWithSize(curr, size, EMemorySubPool::Default); // may free items from OffloadedBlocksRoot
+ auto fullSize = size + sizeof(TMkqlPAllocHeader);
41
+ MKQLFreeWithSize(curr, fullSize, EMemorySubPool::Default); // may free items from OffloadedBlocksRoot
42
curr = next;
43
}
44
0 commit comments