From 232ee74566af255d1b10d7064bc1401ac69c5201 Mon Sep 17 00:00:00 2001 From: airborne12 Date: Wed, 31 Jul 2024 19:19:38 +0800 Subject: [PATCH] [Fix](inverted index) fix memory leak for index compaction (#38586) Pick from (#36209) --- be/src/olap/rowset/segment_v2/inverted_index_compaction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/olap/rowset/segment_v2/inverted_index_compaction.cpp b/be/src/olap/rowset/segment_v2/inverted_index_compaction.cpp index 1f988a7584..40a1d2218f 100644 --- a/be/src/olap/rowset/segment_v2/inverted_index_compaction.cpp +++ b/be/src/olap/rowset/segment_v2/inverted_index_compaction.cpp @@ -58,7 +58,7 @@ Status compact_column(int64_t index_id, std::vector& for (auto* d : src_index_dirs) { if (d != nullptr) { d->close(); - //_CLDELETE(d); + _CLDELETE(d); } } for (auto* d : dest_index_dirs) {