From 5c36d90bc27e7b3690d535c36bfc7ad158922da0 Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Wed, 28 Dec 2022 16:18:24 +0800 Subject: [PATCH] fix: free the column info array --- source/libs/function/src/tudf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/libs/function/src/tudf.c b/source/libs/function/src/tudf.c index cbfc0e360b..acfd5c07af 100644 --- a/source/libs/function/src/tudf.c +++ b/source/libs/function/src/tudf.c @@ -1830,8 +1830,8 @@ int32_t doCallUdfScalarFunc(UdfcFuncHandle handle, SScalarParam *input, int32_t convertDataBlockToScalarParm(&resultBlock, output); taosArrayDestroy(resultBlock.pDataBlock); } - - blockDataCleanup(&inputBlock); + + blockDataFreeRes(&inputBlock); return err; } -- GitLab