Skip to content

Commit

Permalink
fix leak on release internal local tx operation (#7280)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmorozov333 authored Jul 31, 2024
1 parent 55bcb4b commit 74bba08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ydb/core/tx/columnshard/transactions/operators/sharing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ bool TSharingTransactionOperator::DoParse(TColumnShard& owner, const TString& da
AFL_WARN(NKikimrServices::TX_COLUMNSHARD)("event", "session_exists")("session_id", SharingTask->GetSessionId())("info", SharingTask->DebugString());
} else {
SharingTask->Confirm();
TxPropose = SharingSessionsManager->ProposeDestSession(&owner, SharingTask);
}

TxPropose = SharingSessionsManager->ProposeDestSession(&owner, SharingTask);

return true;
}
Expand All @@ -47,8 +47,8 @@ void TSharingTransactionOperator::DoStartProposeOnComplete(TColumnShard& /*owner
if (!SessionExistsFlag) {
AFL_VERIFY(!!TxPropose);
TxPropose->Complete(ctx);
TxPropose.reset();
}
TxPropose.release();
}

bool TSharingTransactionOperator::ProgressOnExecute(
Expand Down

0 comments on commit 74bba08

Please sign in to comment.