diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index 46b4de259b63b9f3a08fbcebf8a69441be9bcea6..3c97bf6fa2c0feb5ca950eb6f64054b035554a0e 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -365,7 +365,7 @@ void tscProcessMsgFromServer(SRpcMsg *rpcMsg, SRpcEpSet *pEpSet) { memcpy(pRes->pRsp, rpcMsg->pCont, pRes->rspLen); } } else { - pRes->pRsp = NULL; + taosTFree(pRes->pRsp); } /*