提交 ec9042a6 编写于 作者: H Haojun Liao

[TD-1943]<fix>: fix memory leak.

上级 fcdc8512
......@@ -365,7 +365,7 @@ void tscProcessMsgFromServer(SRpcMsg *rpcMsg, SRpcEpSet *pEpSet) {
memcpy(pRes->pRsp, rpcMsg->pCont, pRes->rspLen);
}
} else {
pRes->pRsp = NULL;
taosTFree(pRes->pRsp);
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册