refactor:fix error in schemaless

This commit is contained in:
wangmm0220 2022-05-09 20:46:00 +08:00
parent f3ed6ba905
commit 771a1e3194
1 changed files with 1 additions and 1 deletions

View File

@ -1571,7 +1571,7 @@ static void smlDestroyInfo(SSmlHandle* info){
static SSmlHandle* smlBuildSmlInfo(TAOS* taos, SRequestObj* request, SMLProtocolType protocol, int8_t precision, bool dataFormat){
int32_t code = TSDB_CODE_SUCCESS;
SSmlHandle* info = taosMemoryMalloc(sizeof(SSmlHandle));
SSmlHandle* info = taosMemoryCalloc(1, sizeof(SSmlHandle));
if (NULL == info) {
return NULL;
}