set ip and port to 0

This commit is contained in:
Jeff Tao 2020-06-20 00:21:28 +00:00
parent 538ca4f458
commit ac9ca4ff44
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;