This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 0cd25578822 branch-2.1: [Fix]Fix double-free when memtable agg #47523
(#47532)
0cd25578822 is described below
commit 0cd25578822ec34d1c1245836bc706021807c673
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Feb 6 13:11:05 2025 +0800
branch-2.1: [Fix]Fix double-free when memtable agg #47523 (#47532)
Cherry-picked from #47523
Co-authored-by: wangbo <[email protected]>
---
be/src/olap/memtable.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/be/src/olap/memtable.cpp b/be/src/olap/memtable.cpp
index a4df4b8f674..ec64406eb31 100644
--- a/be/src/olap/memtable.cpp
+++ b/be/src/olap/memtable.cpp
@@ -389,8 +389,6 @@ void MemTable::_finalize_one_row(RowInBlock* row,
}
}
- _arena->clear();
-
if constexpr (is_final) {
row->remove_init_agg();
} else {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]