Merge pull request #21308 from taosdata/fix/TD-24154
fix: fix null pointer issue in destroyTimesliceOperator
This commit is contained in:
commit
a0d82ea74d
|
@ -894,8 +894,10 @@ void destroyTimeSliceOperatorInfo(void* param) {
|
||||||
}
|
}
|
||||||
taosArrayDestroy(pInfo->pLinearInfo);
|
taosArrayDestroy(pInfo->pLinearInfo);
|
||||||
|
|
||||||
taosMemoryFree(pInfo->pPrevGroupKey->pData);
|
if (pInfo->pPrevGroupKey) {
|
||||||
taosMemoryFree(pInfo->pPrevGroupKey);
|
taosMemoryFree(pInfo->pPrevGroupKey->pData);
|
||||||
|
taosMemoryFree(pInfo->pPrevGroupKey);
|
||||||
|
}
|
||||||
|
|
||||||
cleanupExprSupp(&pInfo->scalarSup);
|
cleanupExprSupp(&pInfo->scalarSup);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue