lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] tcp_close memory leak


From: K.J. Mansley
Subject: Re: [lwip-users] tcp_close memory leak
Date: 20 Jul 2004 09:37:30 +0100

On Tue, 2004-07-20 at 03:24, Tim Newsham wrote:
> I'm using lwip-0.7.2.
> 
> If you call tcp_close(tcp_new()) you will create new PCB's but
> never destroy them.

Why would you call like that?

> The tcp_close function does not free
> the pcb memory if the pcb is in the closed state.

Nor if it's in the SYN_RCVD, ESTABLISHED, or CLOSE_WAIT states.

I'm not sure what's wrong with the current behaviour, or what behaviour
you expect.

Kieran





reply via email to

[Prev in Thread] Current Thread [Next in Thread]