提交 412fc9b0 编写于 作者: M Minglei Jin

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

上级 064c46bc
...@@ -413,6 +413,7 @@ int32_t tsdbCacheGet(STsdb *pTsdb, tb_uid_t uid, SArray *pLastArray, SCacheRowsR ...@@ -413,6 +413,7 @@ int32_t tsdbCacheGet(STsdb *pTsdb, tb_uid_t uid, SArray *pLastArray, SCacheRowsR
if (pTmpColArray && TARRAY_SIZE(pTmpColArray) >= 1) { if (pTmpColArray && TARRAY_SIZE(pTmpColArray) >= 1) {
pLastCol = taosArrayGet(pTmpColArray, 0); pLastCol = taosArrayGet(pTmpColArray, 0);
freeCol = false;
} }
// still null, then make up a none col value // still null, then make up a none col value
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册