/[lwip]/lwip/src/core/pbuf.c
ViewVC logotype

Diff of /lwip/src/core/pbuf.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by kieranm, Thu Dec 5 09:38:25 2002 UTC revision 1.7 by jani, Tue Dec 17 09:41:16 2002 UTC
# Line 615  struct pbuf * Line 615  struct pbuf *
615  pbuf_unref(struct pbuf *f)  pbuf_unref(struct pbuf *f)
616  {  {
617    struct pbuf *p, *q;    struct pbuf *p, *q;
618    DEBUGF(PBUF_DEBUG, ("pbuf_unref: %p \n", f));    DEBUGF(PBUF_DEBUG, ("pbuf_unref: %p \n", (void*)f));
619    /* first pbuf is of type PBUF_REF? */    /* first pbuf is of type PBUF_REF? */
620    if (f->flags == PBUF_FLAG_REF)    if (f->flags == PBUF_FLAG_REF)
621    {    {
# Line 641  pbuf_unref(struct pbuf *f) Line 641  pbuf_unref(struct pbuf *f)
641        /* de-allocate PBUF_REF */        /* de-allocate PBUF_REF */
642        pbuf_free(f);        pbuf_free(f);
643        f = p;        f = p;
644        DEBUGF(PBUF_DEBUG, ("pbuf_unref: succesful %p \n", f));        DEBUGF(PBUF_DEBUG, ("pbuf_unref: succesful %p \n", (void *)f));
645      }      }
646      else      else
647      {      {

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26