From ad1ba74646b705d6c7718ee3aa390adc29201470 Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Wed, 28 Dec 2022 13:52:40 +0800 Subject: [PATCH] fix: add block data clean up for the udf input data block --- source/libs/function/src/tudf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/function/src/tudf.c b/source/libs/function/src/tudf.c index 5232801dc8..e8206399b2 100644 --- a/source/libs/function/src/tudf.c +++ b/source/libs/function/src/tudf.c @@ -1829,7 +1829,7 @@ int32_t doCallUdfScalarFunc(UdfcFuncHandle handle, SScalarParam *input, int32_t taosArrayDestroy(resultBlock.pDataBlock); } - taosArrayDestroy(inputBlock.pDataBlock); + blockDataCleanup(&inputBlock); return err; }