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

fix(os): uninit free error
This commit is contained in:
Zhiqiang Wang 2022-05-30 17:12:48 +08:00 committed by GitHub
commit f6d39992ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -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
)

View File

@ -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));
}