From 729001c3a8417a8dcc87aaeaa5dfe4798402da4c Mon Sep 17 00:00:00 2001 From: zhagnlu <1542303831@qq.com> Date: Fri, 7 Jun 2024 18:17:53 +0800 Subject: [PATCH] fix: clean vector memory (#33692) (#33708) pr: #33692 Signed-off-by: luzhang Co-authored-by: luzhang --- internal/core/src/mmap/Column.h | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/core/src/mmap/Column.h b/internal/core/src/mmap/Column.h index ce24aafec6e7..40c5c2409965 100644 --- a/internal/core/src/mmap/Column.h +++ b/internal/core/src/mmap/Column.h @@ -541,6 +541,7 @@ class VariableColumn : public ColumnBase { // Not need indices_ after indices_.clear(); + std::vector().swap(indices_); } protected: