Skip to content

Commit 957b334

Browse files
Merge 9117967 into 31afdb8
2 parents 31afdb8 + 9117967 commit 957b334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/tx/limiter/grouped_memory/service/allocation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class TAllocationInfo: public NColumnShard::TMonitoringObjectsCounter<TAllocatio
2323

2424
public:
2525
~TAllocationInfo() {
26-
if (GetAllocationStatus() != EAllocationStatus::Failed) {
26+
if (GetAllocationStatus() == EAllocationStatus::Allocated) {
2727
Stage->Free(AllocatedVolume, GetAllocationStatus() == EAllocationStatus::Allocated);
2828
}
2929

0 commit comments

Comments
 (0)