This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch dev-1.0.1
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/dev-1.0.1 by this push:
new 96ad450eac [hotfix](expr) fix memory leak in expr (#9820)
96ad450eac is described below
commit 96ad450eac89677146bc35522348f06c7e065218
Author: yixiutt <[email protected]>
AuthorDate: Fri May 27 23:11:45 2022 +0800
[hotfix](expr) fix memory leak in expr (#9820)
This bug has been fixed in #9280, but 9280 is not merged into dev-1.0.1
So this PR fix that bug with a single PR and will only be merged into
dev-1.0.1
---
be/src/vec/exprs/vexpr_context.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/be/src/vec/exprs/vexpr_context.cpp
b/be/src/vec/exprs/vexpr_context.cpp
index a8f1d5291f..b8c7f37b4a 100644
--- a/be/src/vec/exprs/vexpr_context.cpp
+++ b/be/src/vec/exprs/vexpr_context.cpp
@@ -64,6 +64,7 @@ void VExprContext::close(doris::RuntimeState* state) {
for (int i = 0; i < _fn_contexts.size(); ++i) {
_fn_contexts[i]->impl()->close();
+ delete _fn_contexts[i];
}
// _pool can be NULL if Prepare() was never called
if (_pool != NULL) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]