fix: release SSmaObj/SStreamObj when dropping sma

This commit is contained in:
Cary Xu 2022-08-26 10:47:11 +08:00
parent f6c6e18554
commit 0afb60dc18
1 changed files with 2 additions and 1 deletions

View File

@ -839,10 +839,11 @@ static int32_t mndDropSma(SMnode *pMnode, SRpcMsg *pReq, SDbObj *pDb, SSmaObj *p
code = 0;
_OVER:
mndReleaseStream(pMnode, pStream);
mndTransDrop(pTrans);
mndReleaseVgroup(pMnode, pVgroup);
mndReleaseStb(pMnode, pStb);
mndReleaseStream(pMnode, pStream);
mndReleaseSma(pMnode, pSma);
return code;
}