Skip to content

Commit

Permalink
Fixed use after free
Browse files Browse the repository at this point in the history
  • Loading branch information
GrigoriyPA committed Dec 7, 2024
1 parent aa805db commit 0732f9d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ class TTopicFiltersSet : public ITopicFiltersSet {
, Counters(counters)
{}

~TTopicFiltersSet() {
Filters.clear();
}

public:
void FilterData(const TVector<ui64>& columnIndex, const TVector<ui64>& offsets, const TVector<const TVector<NYql::NUdf::TUnboxedValue>*>& values, ui64 numberRows) override {
LOG_ROW_DISPATCHER_TRACE("FilterData for " << Filters.size() << " clients, number rows: " << numberRows);
Expand Down

0 comments on commit 0732f9d

Please sign in to comment.