mirror of
https://github.com/rtlduino/RTL8710AF_GCC.git
synced 2024-11-24 10:04:17 +00:00
fixed memory leakage on client connection
This commit is contained in:
parent
f7f7372aad
commit
1ae0039fc9
1 changed files with 1 additions and 1 deletions
|
@ -880,7 +880,7 @@ void fATPC(void *arg){
|
||||||
clientnode->addr = ntohl(addr.s_addr);
|
clientnode->addr = ntohl(addr.s_addr);
|
||||||
clientnode->local_port = local_port;
|
clientnode->local_port = local_port;
|
||||||
|
|
||||||
if(xTaskCreate(client_start_task, ((const char*)"client_start_task"), ATCP_STACK_SIZE, clientnode, ATCMD_LWIP_TASK_PRIORITY, NULL) != pdPASS)
|
if(xTaskCreate(client_start_task, ((const char*)"client_start_task"), ATCP_STACK_SIZE, clientnode, ATCMD_LWIP_TASK_PRIORITY, &clientnode->handletask) != pdPASS)
|
||||||
{
|
{
|
||||||
AT_DBG_MSG(AT_FLAG_LWIP, AT_DBG_ERROR,
|
AT_DBG_MSG(AT_FLAG_LWIP, AT_DBG_ERROR,
|
||||||
"[ATPC] ERROR: Create tcp/udp client task failed.");
|
"[ATPC] ERROR: Create tcp/udp client task failed.");
|
||||||
|
|
Loading…
Reference in a new issue