fix: free the batch create table reqs' decoded comment field

This commit is contained in:
Minglei Jin 2022-11-22 10:47:50 +08:00
parent 69ce6e1a91
commit b9f7d181b6
1 changed files with 1 additions and 0 deletions

View File

@ -609,6 +609,7 @@ static int32_t vnodeProcessCreateTbReq(SVnode *pVnode, int64_t version, void *pR
_exit:
for (int32_t iReq = 0; iReq < req.nReqs; iReq++) {
pCreateReq = req.pReqs + iReq;
taosMemoryFree(pCreateReq->comment);
taosArrayDestroy(pCreateReq->ctb.tagName);
}
taosArrayDestroyEx(rsp.pArray, tFreeSVCreateTbRsp);