add check

This commit is contained in:
54liuyao 2024-09-18 17:24:00 +08:00
parent f6174d0b09
commit 442bf96b87
1 changed files with 3 additions and 0 deletions

View File

@ -112,6 +112,9 @@ void destroyStreamFillLinearInfo(SStreamFillLinearInfo* pFillLinear) {
}
void destroyStreamFillInfo(SStreamFillInfo* pFillInfo) {
if (pFillInfo == NULL) {
return;
}
if (pFillInfo->type == TSDB_FILL_SET_VALUE || pFillInfo->type == TSDB_FILL_SET_VALUE_F ||
pFillInfo->type == TSDB_FILL_NULL || pFillInfo->type == TSDB_FILL_NULL_F) {
taosMemoryFreeClear(pFillInfo->pResRow->pRowVal);