mirror of
https://github.com/opnsense/src.git
synced 2026-03-19 09:13:43 -04:00
quitting every time. The way to free a CIRCLEQ was to loop until the current == current->head, but the way to free a TAILQ is to loop until current->head == NULL. In any case, the CORRECT way to do it is a loop of TAILQ_EMPTY() checks and TAILQ_REMOVE()al of TAILQ_FIRST(). This bug wouldn't have happened if the loop wasn't hard-coded... There may be more bugs of this type from the conversion. |
||
|---|---|---|
| .. | ||
| Makefile.inc | ||
| mpool.c | ||
| mpool.libtp | ||
| README | ||
# @(#)README 8.1 (Berkeley) 6/4/93 These are the current memory pool routines. They aren't ready for prime time, yet, and the interface is expected to change. --keith