OCT 1. 修复协议拼装后内存清理
This commit is contained in:
parent
0433658d72
commit
12553aacf3
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue