diff --git a/source/common/src/tmsg.c b/source/common/src/tmsg.c index 2ab4c9ed8d..cdbc2658da 100644 --- a/source/common/src/tmsg.c +++ b/source/common/src/tmsg.c @@ -7418,10 +7418,11 @@ void tFreeSCMCreateStreamReq(SCMCreateStreamReq *pReq) { if (NULL == pReq) { return; } - taosArrayDestroy(pReq->pTags); taosMemoryFreeClear(pReq->sql); taosMemoryFreeClear(pReq->ast); + taosArrayDestroy(pReq->pTags); taosArrayDestroy(pReq->fillNullCols); + taosArrayDestroy(pReq->pVgroupVerList); } int32_t tEncodeSRSmaParam(SEncoder *pCoder, const SRSmaParam *pRSmaParam) {