[TD-855] memory leak while alter vgroup

This commit is contained in:
Shengliang Guan 2020-07-06 06:24:28 +00:00
parent 1abb04328d
commit bbd0241a95
1 changed files with 2 additions and 0 deletions

View File

@ -165,6 +165,8 @@ static int32_t mnodeVgroupActionUpdate(SSdbOper *pOper) {
} }
mnodeDecDnodeRef(pDnode); mnodeDecDnodeRef(pDnode);
} }
free(pNew);
} }
mnodeVgroupUpdateIdPool(pVgroup); mnodeVgroupUpdateIdPool(pVgroup);