fix udf dynamic memory leak of 4.0 branch

This commit is contained in:
obdev
2022-11-07 05:05:35 +00:00
committed by wangzelin.wzl
parent f61b55b314
commit a1f368d6b9
7 changed files with 36 additions and 5 deletions

View File

@ -110,6 +110,7 @@ int ObPlAggUdfFunction::call_pl_engine_exectue_udf(ParamStore& udf_params,
LOG_WARN("udf parameter number is not equal to params desc count",
K(ret), K(udf_params.count()), K(routine_info->get_param_count()));
} else if (OB_FAIL(pl_engine->execute(*exec_ctx_,
exec_ctx_->get_allocator(),
-1,
routine_info->get_routine_id(),
empty_subprogram_path,