fix(query): remove invalid free.

This commit is contained in:
Haojun Liao 2022-08-20 20:22:39 +08:00
parent 03879752a1
commit 6d8a70ebf6
1 changed files with 1 additions and 1 deletions

View File

@ -2392,7 +2392,7 @@ static int32_t doLoadRelatedLastBlock(SLastBlockReader* pLastBlockReader, uint64
}
if (pLastBlockReader->currentBlockIndex == -1) {
tBlockDataClear(&pLastBlockReader->lastBlockData);
tBlockDataReset(&pLastBlockReader->lastBlockData);
return TSDB_CODE_SUCCESS;
}