提交 72028706 编写于 作者: dengyihao's avatar dengyihao

fixbug use_after_free

上级 7f29f0c6
......@@ -1530,9 +1530,9 @@ static void rpcDecRef(SRpcInfo *pRpc)
{
if (atomic_sub_fetch_32(&pRpc->refCount, 1) == 0) {
taosHashCleanup(pRpc->hash);
taosTmrCleanUp(pRpc->tmrCtrl);
taosIdPoolCleanUp(pRpc->idPool);
rpcCloseConnCache(pRpc->pCache);
taosTmrCleanUp(pRpc->tmrCtrl);
tfree(pRpc->connList);
pthread_mutex_destroy(&pRpc->mutex);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册