Branch: Tag:

2012-02-12

2012-02-12 03:55:43 by Arne Goedeke <el@laramies.com>

set p->first = NULL when full

604:    DOUBLE_LINK(a->full, p);   #else    p->next = NULL; -  p->first = NULL; +    #endif -  +  p->first = NULL;    }       if (a->first) return;
637: Inside #if defined(BA_USE_MEMALIGN)
  #ifdef BA_USE_MEMALIGN    DOUBLE_UNLINK(a->full, p);   #endif + #if 1 +  if (a->first) { +  p->prev = a->first; +  p->next = a->first->next; +  a->first->next = p; +  if (p->next) p->next->prev = p; +  } else + #endif    DOUBLE_LINK(a->first, p);    } else if (!p->used) {    INC(free_empty);