refactor: check return value.

This commit is contained in:
Haojun Liao 2024-09-08 23:49:04 +08:00
parent 31ab46f210
commit 958b443fc2
1 changed files with 1 additions and 1 deletions

View File

@ -1072,7 +1072,7 @@ int32_t getNumOfRowsInSttBlock(SSttFileReader* pSttFileReader, SSttBlockLoadInfo
}
}
tStatisBlockDestroy(pStatisBlock);
int32_t ret = tStatisBlockDestroy(pStatisBlock);
taosMemoryFreeClear(pStatisBlock);
*pNumOfRows = num;
return code;