cache/memory: fix double free issue with tsim/parser/last_cache.sim

This commit is contained in:
Minglei Jin 2023-05-09 11:09:53 +08:00
parent 064c46bc7b
commit 412fc9b0bc
1 changed files with 1 additions and 0 deletions

View File

@ -413,6 +413,7 @@ int32_t tsdbCacheGet(STsdb *pTsdb, tb_uid_t uid, SArray *pLastArray, SCacheRowsR
if (pTmpColArray && TARRAY_SIZE(pTmpColArray) >= 1) {
pLastCol = taosArrayGet(pTmpColArray, 0);
freeCol = false;
}
// still null, then make up a none col value