Repository: incubator-impala Updated Branches: refs/heads/master d72353d0c -> 6bbb7fb3d
IMPALA-4027:Memory leak with ExprCtxs not free Change-Id: I76025315408b124812e7e77357bebd001ae6f190 Reviewed-on: http://gerrit.cloudera.org:8080/4132 Reviewed-by: Tim Armstrong <[email protected]> Tested-by: Internal Jenkins Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/e4530861 Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/e4530861 Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/e4530861 Branch: refs/heads/master Commit: e453086171c8069222fb45d5b8372968590834af Parents: d72353d Author: hewenting <[email protected]> Authored: Fri Aug 26 15:25:50 2016 +0800 Committer: Internal Jenkins <[email protected]> Committed: Tue Aug 30 01:06:59 2016 +0000 ---------------------------------------------------------------------- be/src/exec/hash-join-node.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/e4530861/be/src/exec/hash-join-node.cc ---------------------------------------------------------------------- diff --git a/be/src/exec/hash-join-node.cc b/be/src/exec/hash-join-node.cc index 7a3ca87..60a64be 100644 --- a/be/src/exec/hash-join-node.cc +++ b/be/src/exec/hash-join-node.cc @@ -124,7 +124,7 @@ Status HashJoinNode::Prepare(RuntimeState* state) { AddExprCtxsToFree(probe_expr_ctxs_); RETURN_IF_ERROR( Expr::Prepare(filter_expr_ctxs_, state, child(1)->row_desc(), expr_mem_tracker())); - AddExprCtxsToFree(probe_expr_ctxs_); + AddExprCtxsToFree(filter_expr_ctxs_); // other_join_conjunct_ctxs_ are evaluated in the context of rows assembled from all // build and probe tuples; full_row_desc is not necessarily the same as the output row
