[td-225] fix memory leaks
This commit is contained in:
parent
1b75d0b0df
commit
ceb929764b
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue