Skip to content

Commit

Permalink
Merge b8a15b5 into 2e3d80e
Browse files Browse the repository at this point in the history
  • Loading branch information
vitstn authored Jan 31, 2024
2 parents 2e3d80e + b8a15b5 commit fcf9fae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ydb/library/yql/minikql/mkql_alloc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ void TAllocState::CleanupPAllocList(TListEntry* root) {
for (auto curr = root->Right; curr != root; ) {
auto next = curr->Right;
auto size = ((TMkqlPAllocHeader*)curr)->Size;
MKQLFreeWithSize(curr, size, EMemorySubPool::Default); // may free items from OffloadedBlocksRoot
auto fullSize = size + sizeof(TMkqlPAllocHeader);
MKQLFreeWithSize(curr, fullSize, EMemorySubPool::Default); // may free items from OffloadedBlocksRoot
curr = next;
}

Expand Down

0 comments on commit fcf9fae

Please sign in to comment.