fix [ASAN] memory leak while tdbRealloc
This commit is contained in:
parent
e2e52897a2
commit
d3fe6f0ba3
|
@ -2703,6 +2703,7 @@ static void rebuildIntervalWindow(SOperatorInfo* pOperator, SArray* pWinArray, S
|
||||||
pChildSup->rowEntryInfoOffset, &pChInfo->aggSup);
|
pChildSup->rowEntryInfoOffset, &pChInfo->aggSup);
|
||||||
updateTimeWindowInfo(&pInfo->twAggSup.timeWindowData, &parentWin, true);
|
updateTimeWindowInfo(&pInfo->twAggSup.timeWindowData, &parentWin, true);
|
||||||
compactFunctions(pSup->pCtx, pChildSup->pCtx, numOfOutput, pTaskInfo, &pInfo->twAggSup.timeWindowData);
|
compactFunctions(pSup->pCtx, pChildSup->pCtx, numOfOutput, pTaskInfo, &pInfo->twAggSup.timeWindowData);
|
||||||
|
releaseOutputBuf(pChInfo->pState, pWinRes, pChResult);
|
||||||
}
|
}
|
||||||
if (num > 0 && pUpdatedMap) {
|
if (num > 0 && pUpdatedMap) {
|
||||||
saveWinResultInfo(pCurResult->win.skey, pWinRes->groupId, pUpdatedMap);
|
saveWinResultInfo(pCurResult->win.skey, pWinRes->groupId, pUpdatedMap);
|
||||||
|
|
Loading…
Reference in New Issue