This commit is contained in:
dapan1121 2021-03-24 13:24:05 +08:00
parent 4f01d746e2
commit a0d1e81027
1 changed files with 2 additions and 1 deletions

View File

@ -2075,7 +2075,8 @@ int tscProcessSTableVgroupRsp(SSqlObj *pSql) {
pInfo->vgroupList->numOfVgroups = pVgroupMsg->numOfVgroups;
if (pInfo->vgroupList->numOfVgroups <= 0) {
tfree(pInfo->vgroupList);
//tfree(pInfo->vgroupList);
tscError("%p empty vgroup info", pSql);
} else {
for (int32_t j = 0; j < pInfo->vgroupList->numOfVgroups; ++j) {
//just init, no need to lock