This commit is contained in:
dapan1121 2021-03-24 13:22:22 +08:00
parent f9da62de46
commit 3ad4453196
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