This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch branch-1.2-lts in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push: new 52f01c2205 [fix] Memory leaks when compaction fails (#15428) (#15710) 52f01c2205 is described below commit 52f01c2205df36fb41a63ae11d594b96e105270e Author: Adonis Ling <adonis0...@gmail.com> AuthorDate: Mon Jan 9 13:04:34 2023 +0800 [fix] Memory leaks when compaction fails (#15428) (#15710) Cherry pick #15428 --- be/src/olap/collect_iterator.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/be/src/olap/collect_iterator.cpp b/be/src/olap/collect_iterator.cpp index 4b088fbeb6..0733518ca0 100644 --- a/be/src/olap/collect_iterator.cpp +++ b/be/src/olap/collect_iterator.cpp @@ -370,6 +370,7 @@ inline Status CollectIterator::Level1Iterator::_merge_next(const RowCursor** row return Status::OLAPInternalError(OLAP_ERR_DATA_EOF); } } else { + delete _cur_child; _cur_child = nullptr; LOG(WARNING) << "failed to get next from child, res=" << res; return res; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org