fix(os): uninit free error
This commit is contained in:
parent
e223a1f465
commit
35fe6feed6
|
@ -26,9 +26,7 @@ if(${BUILD_WINGETOPT})
|
|||
target_link_libraries(parserTest PUBLIC wingetopt)
|
||||
endif()
|
||||
|
||||
if(NOT TD_WINDOWS)
|
||||
add_test(
|
||||
NAME parserTest
|
||||
COMMAND parserTest
|
||||
)
|
||||
endif(NOT TD_WINDOWS)
|
||||
add_test(
|
||||
NAME parserTest
|
||||
COMMAND parserTest
|
||||
)
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue