This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch branch-1.1-lts in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.1-lts by this push: new ea8ce065e7 [fix] Memory leaks when compaction fails (#15428) ea8ce065e7 is described below commit ea8ce065e70f0a05c9457a949191a987176877f0 Author: Adonis Ling <adonis0...@gmail.com> AuthorDate: Thu Dec 29 14:51:22 2022 +0800 [fix] Memory leaks when compaction fails (#15428) Issue Number: close #15427 --- 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 df1f3231a8..8cdfeb9834 100644 --- a/be/src/olap/collect_iterator.cpp +++ b/be/src/olap/collect_iterator.cpp @@ -385,6 +385,7 @@ inline OLAPStatus CollectIterator::Level1Iterator::_merge_next(const RowCursor** return 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