| # | Line 89 | Line 89 | free_binq(BINQ *bp) | |
|---|---|---|
| 89 | /* for (i = nmods; i--; ) | |
| 90 | memset(bp->mca[i]->cbin, 0, sizeof(DCOLOR)*bp->mca[i]->nbins); | |
| 91 | */ | |
| 92 | + | if (bp->next != NULL) |
| 93 | + | error(CONSISTENCY, "free_binq() handed list"); |
| 94 | bp->ndx = 0; | |
| 95 | bp->next = free_bq; /* push onto free list */ | |
| 96 | free_bq = bp; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |