fix(query):fix invalid write.

This commit is contained in:
Haojun Liao 2022-07-13 23:42:59 +08:00
parent 38b395147a
commit b2b69f1868
1 changed files with 1 additions and 1 deletions

View File

@ -3479,9 +3479,9 @@ static void destroyExprInfo(SExprInfo* pExpr, int32_t numOfExprs) {
if (pExprInfo->base.pParam[j].type == FUNC_PARAM_TYPE_COLUMN) {
taosMemoryFreeClear(pExprInfo->base.pParam[j].pCol);
}
taosMemoryFree(pExprInfo->base.pParam);
}
taosMemoryFree(pExprInfo->base.pParam);
taosMemoryFree(pExprInfo->pExpr);
}
}