refactor: check return value.
This commit is contained in:
parent
31ab46f210
commit
958b443fc2
|
@ -1072,7 +1072,7 @@ int32_t getNumOfRowsInSttBlock(SSttFileReader* pSttFileReader, SSttBlockLoadInfo
|
|||
}
|
||||
}
|
||||
|
||||
tStatisBlockDestroy(pStatisBlock);
|
||||
int32_t ret = tStatisBlockDestroy(pStatisBlock);
|
||||
taosMemoryFreeClear(pStatisBlock);
|
||||
*pNumOfRows = num;
|
||||
return code;
|
||||
|
|
Loading…
Reference in New Issue