fix mem leak
This commit is contained in:
parent
c998f31044
commit
bcba018324
|
@ -1247,6 +1247,10 @@ void destroyTimeSliceOperatorInfo(void* param) {
|
|||
taosMemoryFree(pInfo->pPrevGroupKey->pData);
|
||||
taosMemoryFree(pInfo->pPrevGroupKey);
|
||||
}
|
||||
if (pInfo->hasPk) {
|
||||
taosMemoryFreeClear(pInfo->prevKey.pks[0].pData);
|
||||
taosMemoryFreeClear(pInfo->prevKey.pks[1].pData);
|
||||
}
|
||||
|
||||
cleanupExprSupp(&pInfo->scalarSup);
|
||||
if (pInfo->pFillColInfo != NULL) {
|
||||
|
|
Loading…
Reference in New Issue