fix bug in issue #969. [tbase-1368]

This commit is contained in:
hjxilinx 2019-12-20 11:43:29 +08:00
parent 14fe658f82
commit 568f874d12
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ uint8_t tLoserTreeCreate(SLoserTreeInfo** pTree, int32_t numOfEntries, void* par
*pTree = (SLoserTreeInfo*)calloc(1, sizeof(SLoserTreeInfo) + sizeof(SLoserTreeNode) * totalEntries);
if ((*pTree) == NULL) {
pError("allocate memory for losertree failed. out of memory");
pError("allocate memory for loser-tree failed. reason:%s", strerror(errno));
return TSDB_CODE_CLI_OUT_OF_MEMORY;
}