Rahul Gundecha <[email protected]> wrote:
> Here I am puzzled with the comment in the code.
> 
> "Call sequence here is:
> lwip_close -> netconn_delete -> netconn_free
> 
> The comments on netconn_free() function says this -
>  * Delete a netconn and all its resources.
>  * The pcb is NOT freed (since we might not be in the right thread context
> do this)."

The pcb is freed in 'do_delconn()', not in 'netconn_free()': at that point, it 
should already be freed. 

Simon
-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!               
Jetzt informieren: http://www.gmx.net/de/go/freephone

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

Reply via email to