fix: fix interval query memory leak
This commit is contained in:
parent
988b16f6e9
commit
69d545fb8d
|
@ -985,7 +985,8 @@ void doCloseWindow(SResultRowInfo* pResultRowInfo, const SIntervalAggOperatorInf
|
||||||
// current result is done in computing final results.
|
// current result is done in computing final results.
|
||||||
if (pInfo->timeWindowInterpo && isResultRowInterpolated(pResult, RESULT_ROW_END_INTERP)) {
|
if (pInfo->timeWindowInterpo && isResultRowInterpolated(pResult, RESULT_ROW_END_INTERP)) {
|
||||||
closeResultRow(pResult);
|
closeResultRow(pResult);
|
||||||
tdListPopHead(pResultRowInfo->openWindow);
|
SListNode *pNode = tdListPopHead(pResultRowInfo->openWindow);
|
||||||
|
taosMemoryFree(pNode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue