fix mem leak

This commit is contained in:
yihaoDeng 2023-11-29 20:16:41 +08:00
parent bf81ea1a06
commit 64947f9d20
1 changed files with 2 additions and 1 deletions

View File

@ -1499,6 +1499,7 @@ int transSendResponse(const STransMsg* msg) {
} }
SExHandle* exh = msg->info.handle; SExHandle* exh = msg->info.handle;
if (exh == NULL) { if (exh == NULL) {
rpcFreeCont(msg->pCont);
return 0; return 0;
} }
int64_t refId = msg->info.refId; int64_t refId = msg->info.refId;