提交 ceb92976 编写于 作者: H Haojun Liao

[td-225] fix memory leaks

上级 1b75d0b0
...@@ -110,6 +110,12 @@ void taosDestoryFillInfo(SFillInfo* pFillInfo) { ...@@ -110,6 +110,12 @@ void taosDestoryFillInfo(SFillInfo* pFillInfo) {
tfree(pFillInfo->prevValues); tfree(pFillInfo->prevValues);
tfree(pFillInfo->nextValues); tfree(pFillInfo->nextValues);
tfree(pFillInfo->pTags); tfree(pFillInfo->pTags);
for(int32_t i = 0; i < pFillInfo->numOfCols; ++i) {
tfree(pFillInfo->pData[i]);
}
tfree(pFillInfo->pData);
tfree(pFillInfo); tfree(pFillInfo);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册