[Fix](inverted index) fix memory leak for index compaction (#38586)

Pick from (#36209)
This commit is contained in:
airborne12
2024-07-31 19:19:38 +08:00
committed by GitHub
parent aed0cc8ba0
commit 232ee74566

View File

@ -58,7 +58,7 @@ Status compact_column(int64_t index_id, std::vector<lucene::store::Directory*>&
for (auto* d : src_index_dirs) {
if (d != nullptr) {
d->close();
//_CLDELETE(d);
_CLDELETE(d);
}
}
for (auto* d : dest_index_dirs) {