fix mem leak

This commit is contained in:
54liuyao 2024-08-23 11:36:47 +08:00
parent c998f31044
commit bcba018324
1 changed files with 4 additions and 0 deletions

View File

@ -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) {