>Again, if I am not mistaken, the while loop is needed if there is more
>than 1 reference to the pbuf in question. Perhaps, in this particular
>program this will never happen. Maybe the author of the code put the
>while loop there just to be on the safe side?
>
>As for pbuf_dechain(), I'm not sure it's the right function to use.
>You still have to free the pbuf, and pbuf_dechain() doesn't seem to do
>that.

Isn't that what the tail_gone = pbuf_free(q); does?

Bill



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

Reply via email to