diff options
author | Martin Mares <mj@ucw.cz> | 2001-01-17 08:32:28 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2001-01-17 08:32:28 +0000 |
commit | 0766e962e9a9539ceccd23090e5bb8e1301fce8c (patch) | |
tree | 18cb43f1392b50bfaffd3dd37fb2972927828613 | |
parent | a2d01907c5b24bab78cc055fa23354597bd44a03 (diff) |
Bug fix from Zheng Yuan <zyuan1@cig.mot.com>.
-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 a27f2f44..ba95323c 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 |