revert rpc change

This commit is contained in:
Shengliang Guan 2020-05-21 11:40:50 +08:00
parent 0ec68470f5
commit 258e048c2a
1 changed files with 1 additions and 1 deletions

View File

@ -894,7 +894,7 @@ static void *rpcProcessMsgFromPeer(SRecvInfo *pRecv) {
}
}
if (code) tfree(pRecv->msg); // parsing failed, msg shall be freed
if (code) rpcFreeMsg(pRecv->msg); // parsing failed, msg shall be freed
return pConn;
}