Skip to content

Commit

Permalink
fix allocations validator (#12616)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmorozov333 authored Dec 13, 2024
1 parent 118d425 commit db99e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/core/tx/limiter/grouped_memory/service/allocation.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class TAllocationInfo: public NColumnShard::TMonitoringObjectsCounter<TAllocatio

public:
~TAllocationInfo() {
if (GetAllocationStatus() != EAllocationStatus::Failed) {
if (GetAllocationStatus() == EAllocationStatus::Allocated) {
Stage->Free(AllocatedVolume, GetAllocationStatus() == EAllocationStatus::Allocated);
}

Expand Down

0 comments on commit db99e50

Please sign in to comment.