Hi All,

I am using lwIP socket interface. I meet a kind of memory leak.

Two task
1. Receive task always in received task.
   The task is always block all writter the recieved buffer to other
pipline.

2. Control task
    It may close the socket

The memory leak will hapeen if control task is closed the socket while
antother receive task is still in blocking.  One PBUF will be leaked.

My question
1. Whether my flow break the lwIP pre-required  condition.
2. How could I make quick fixed.

The problem is we are already uing socket interface in previous socket
soltuion, and now, I use lwIP replacement previous TCP/IP stack. The inner
strucuture is a little difficult to changed.

Lee
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to