Parent Directory | Revision Log | Patch
revision 1.40 by likewise, Thu Apr 3 08:50:57 2003 UTC | revision 1.40.2.1 by likewise, Sun Apr 6 20:44:45 2003 UTC | |
---|---|---|
# | Line 613 pbuf_free(struct pbuf *p) | Line 613 pbuf_free(struct pbuf *p) |
613 | LWIP_ASSERT("pbuf_free: p->ref > 0", p->ref > 0); | LWIP_ASSERT("pbuf_free: p->ref > 0", p->ref > 0); |
614 | p->ref--; | p->ref--; |
615 | /* this pbuf is no longer referenced to? */ | /* this pbuf is no longer referenced to? */ |
616 | if (p->ref == 0) | if (p->ref == 0) { |
{ | ||
617 | /* remember next pbuf in chain for next iteration */ | /* remember next pbuf in chain for next iteration */ |
618 | q = p->next; | q = p->next; |
619 | /* is this a pbuf from the pool? */ | /* is this a pbuf from the pool? */ |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |