提交 0afb60dc 编写于 作者: C Cary Xu

fix: release SSmaObj/SStreamObj when dropping sma

上级 f6c6e185
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册