提交 c2c41d89 编写于 作者: C Cary Xu

fix: release SSmaObj/SStreamObj when dropping sma

上级 0afb60dc
......@@ -840,10 +840,9 @@ static int32_t mndDropSma(SMnode *pMnode, SRpcMsg *pReq, SDbObj *pDb, SSmaObj *p
_OVER:
mndTransDrop(pTrans);
mndReleaseStream(pMnode, pStream);
mndReleaseVgroup(pMnode, pVgroup);
mndReleaseStb(pMnode, pStb);
mndReleaseStream(pMnode, pStream);
mndReleaseSma(pMnode, pSma);
return code;
}
......@@ -963,6 +962,7 @@ _OVER:
}
mndReleaseDb(pMnode, pDb);
mndReleaseSma(pMnode, pSma);
return code;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册