You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2023/01/09 05:04:43 UTC
[doris] branch branch-1.2-lts updated: [fix] Memory leaks when compaction fails (#15428) (#15710)
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 <ad...@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-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org