diff options
-rw-r--r-- | lib/mempool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mempool.c b/lib/mempool.c index a27f2f4..ba95323 100644 --- a/lib/mempool.c +++ b/lib/mempool.c @@ -107,7 +107,7 @@ lp_alloc(linpool *m, unsigned size) c = xmalloc(sizeof(struct lp_chunk) + size); m->total_large += size; c->next = m->first_large; - m->first_large = c->next; + m->first_large = c; c->size = size; } else |