fix(query): remove invalid free.

This commit is contained in:
Haojun Liao 2022-10-20 11:52:30 +08:00
parent 70adc0ea33
commit 12e81869bc
1 changed files with 0 additions and 4 deletions

View File

@ -3672,10 +3672,6 @@ void tsdbReaderClose(STsdbReader* pReader) {
taosMemoryFree(pLReader);
}
if (pReader->innerReader[0] != 0) {
tsdbUntakeReadSnap(pReader->innerReader[0]->pTsdb, pReader->innerReader[0]->pReadSnap, pReader->idStr);
}
tsdbDebug(
"%p :io-cost summary: head-file:%" PRIu64 ", head-file time:%.2f ms, SMA:%" PRId64
" SMA-time:%.2f ms, fileBlocks:%" PRId64