From 89db7bf60010ddd3ed09547d6919bd76bdda5f5a Mon Sep 17 00:00:00 2001 From: slzhou Date: Wed, 15 Feb 2023 12:22:54 +0800 Subject: [PATCH] fix: memory leak error --- source/libs/function/src/udfd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/libs/function/src/udfd.c b/source/libs/function/src/udfd.c index 398f4f636c..9cd04dc353 100644 --- a/source/libs/function/src/udfd.c +++ b/source/libs/function/src/udfd.c @@ -647,6 +647,7 @@ void udfdProcessTeardownRequest(SUvUdfWork *uvUdf, SUdfRequest *request) { uv_cond_destroy(&udf->condReady); uv_mutex_destroy(&udf->lock); udf->scriptPlugin->udfDestroyFunc(udf->scriptUdfCtx); + taosMemoryFree(udf); } taosMemoryFree(handle); -- GitLab