未验证 提交 f6d39992 编写于 作者: wafwerar's avatar wafwerar 提交者: GitHub

Merge pull request #13233 from taosdata/fix/ZhiqiangWang/TD-15848-uninit-free-error

fix(os): uninit free error
...@@ -26,9 +26,7 @@ if(${BUILD_WINGETOPT}) ...@@ -26,9 +26,7 @@ if(${BUILD_WINGETOPT})
target_link_libraries(parserTest PUBLIC wingetopt) target_link_libraries(parserTest PUBLIC wingetopt)
endif() endif()
if(NOT TD_WINDOWS) add_test(
add_test( NAME parserTest
NAME parserTest COMMAND parserTest
COMMAND parserTest )
)
endif(NOT TD_WINDOWS)
...@@ -242,6 +242,8 @@ class MockCatalogServiceImpl { ...@@ -242,6 +242,8 @@ class MockCatalogServiceImpl {
info->outputType = outputType; info->outputType = outputType;
info->outputLen = outputLen; info->outputLen = outputLen;
info->bufSize = bufSize; info->bufSize = bufSize;
info->pCode = nullptr;
info->pComment = nullptr;
udf_.insert(std::make_pair(func, info)); udf_.insert(std::make_pair(func, info));
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册