Merge pull request #2373 from taosdata/hotfix/refCount

set ip and port to 0
This commit is contained in:
Shengliang Guan 2020-06-20 09:20:07 +08:00 committed by GitHub
commit d6debe0e0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -588,6 +588,8 @@ static void rpcReleaseConn(SRpcConn *pConn) {
pConn->inTranId = 0;
pConn->outTranId = 0;
pConn->secured = 0;
pConn->peerIp = 0;
pConn->peerPort = 0;
pConn->pReqMsg = NULL;
pConn->reqMsgLen = 0;
pConn->pContext = NULL;