提交 36fbf6d7 编写于 作者: M Minglei Jin

tsdbCache: free tmp ppRow

上级 dd537af1
...@@ -920,6 +920,10 @@ static int32_t mergeLast(tb_uid_t uid, STsdb *pTsdb, STSRow **ppRow) { ...@@ -920,6 +920,10 @@ static int32_t mergeLast(tb_uid_t uid, STsdb *pTsdb, STSRow **ppRow) {
} }
} }
if (*ppRow) {
taosMemoryFreeClear(*ppRow);
}
continue; continue;
} }
...@@ -950,6 +954,10 @@ static int32_t mergeLast(tb_uid_t uid, STsdb *pTsdb, STSRow **ppRow) { ...@@ -950,6 +954,10 @@ static int32_t mergeLast(tb_uid_t uid, STsdb *pTsdb, STSRow **ppRow) {
} }
} }
} }
if (*ppRow) {
taosMemoryFreeClear(*ppRow);
}
} while (nilColCount > 0); } while (nilColCount > 0);
// if () new ts row from pColArray if non empty // if () new ts row from pColArray if non empty
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册