fix: fix create table rsp free issue

This commit is contained in:
dapan1121 2022-09-01 18:00:41 +08:00
parent c49bb4533f
commit b4ae5fadbe
1 changed files with 1 additions and 0 deletions

View File

@ -496,6 +496,7 @@ static int32_t vnodeProcessCreateTbReq(SVnode *pVnode, int64_t version, void *pR
// loop to create table
for (int32_t iReq = 0; iReq < req.nReqs; iReq++) {
pCreateReq = req.pReqs + iReq;
memset(&cRsp, 0, sizeof(cRsp));
if ((terrno = grantCheck(TSDB_GRANT_TIMESERIES)) < 0) {
rcode = -1;