Merge pull request #3762 from taosdata/bugfix/td-1249

[TD-1249]<fix>:memory leak in rpc
This commit is contained in:
Shengliang Guan 2020-10-08 21:30:20 +08:00 committed by GitHub
commit 6875321877
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -187,6 +187,7 @@ void dnodeSendRpcReadRsp(void *pVnode, SReadMsg *pRead, int32_t code) {
}
void dnodeDispatchNonRspMsg(void *pVnode, SReadMsg *pRead, int32_t code) {
rpcFreeCont(pRead->rpcMsg.pCont);
vnodeRelease(pVnode);
return;
}