fix(stream):partition operator memory leak
This commit is contained in:
parent
0d4239af46
commit
da13891ca4
|
@ -918,6 +918,8 @@ static SSDataBlock* buildStreamPartitionResult(SOperatorInfo* pOperator) {
|
|||
blockDataDestroy(pResBlock);
|
||||
}
|
||||
}
|
||||
taosArrayDestroy(pParInfo->rowIds);
|
||||
pParInfo->rowIds = NULL;
|
||||
blockDataUpdateTsWindow(pDest, pInfo->tsColIndex);
|
||||
pDest->info.groupId = pParInfo->groupId;
|
||||
pOperator->resultInfo.totalRows += pDest->info.rows;
|
||||
|
@ -1016,6 +1018,7 @@ static void destroyStreamPartitionOperatorInfo(void* param) {
|
|||
cleanupExprSupp(&pInfo->tbnameCalSup);
|
||||
cleanupExprSupp(&pInfo->tagCalSup);
|
||||
blockDataDestroy(pInfo->pDelRes);
|
||||
taosHashCleanup(pInfo->pPartitions);
|
||||
taosMemoryFreeClear(param);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue