提交 89db7bf6 编写于 作者: S slzhou

fix: memory leak error

上级 634046cc
...@@ -647,6 +647,7 @@ void udfdProcessTeardownRequest(SUvUdfWork *uvUdf, SUdfRequest *request) { ...@@ -647,6 +647,7 @@ void udfdProcessTeardownRequest(SUvUdfWork *uvUdf, SUdfRequest *request) {
uv_cond_destroy(&udf->condReady); uv_cond_destroy(&udf->condReady);
uv_mutex_destroy(&udf->lock); uv_mutex_destroy(&udf->lock);
udf->scriptPlugin->udfDestroyFunc(udf->scriptUdfCtx); udf->scriptPlugin->udfDestroyFunc(udf->scriptUdfCtx);
taosMemoryFree(udf);
} }
taosMemoryFree(handle); taosMemoryFree(handle);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册