提交 35fe6fee 编写于 作者: wafwerar's avatar wafwerar

fix(os): uninit free error

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