[bugfix]fix TableFunctionNode memory leak (#9853)

This commit is contained in:
Pxl
2022-05-31 19:20:22 +08:00
committed by GitHub
parent ec5027a00a
commit d34d631519
3 changed files with 4 additions and 3 deletions

View File

@ -377,6 +377,7 @@ Status TableFunctionNode::close(RuntimeState* state) {
}
RETURN_IF_ERROR(exec_debug_action(TExecNodePhase::CLOSE));
Expr::close(_fn_ctxs, state);
vectorized::VExpr::close(_vfn_ctxs, state);
if (_num_rows_filtered_counter != nullptr) {
COUNTER_SET(_num_rows_filtered_counter, static_cast<int64_t>(_num_rows_filtered));