OCT 1. 修复协议拼装后内存清理

This commit is contained in:
huangxin 2022-12-03 18:02:47 +08:00
parent 0433658d72
commit 12553aacf3
1 changed files with 1 additions and 0 deletions

View File

@ -119,6 +119,7 @@ static void sendUserList(data19 *req, const char *pRequest) {
cJSON_Delete(pRoot); cJSON_Delete(pRoot);
//cJSON_Delete(pRspMsg); //cJSON_Delete(pRspMsg);
free((void *)pStrPro);
req->bytes = (int)(fp - req->dp); req->bytes = (int)(fp - req->dp);
} }