From 827cd8808cd871437d4760599a905c07991b5cac Mon Sep 17 00:00:00 2001 From: dapan1121 Date: Tue, 18 Oct 2022 18:00:08 +0800 Subject: [PATCH] fix: remove usless code --- src/rpc/src/rpcMain.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rpc/src/rpcMain.c b/src/rpc/src/rpcMain.c index bf5b22eb76..5c38541008 100644 --- a/src/rpc/src/rpcMain.c +++ b/src/rpc/src/rpcMain.c @@ -1080,7 +1080,6 @@ static void rpcProcessBrokenLink(SRpcConn *pConn) { pContext->code = TSDB_CODE_RPC_NETWORK_UNAVAIL; pContext->pConn = NULL; pConn->pReqMsg = NULL; - taosAcquireRef(tsRpcRefId, pContext->rid); int64_t *rid = malloc(sizeof(int64_t)); *rid = pContext->rid; taosTmrStart(rpcProcessConnError, 0, rid, pRpc->tmrCtrl); -- GitLab