[td-225] fix memory leaks

This commit is contained in:
Haojun Liao 2020-06-02 18:15:53 +08:00
parent 1b75d0b0df
commit ceb929764b
1 changed files with 6 additions and 0 deletions

View File

@ -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);
} }