diff options
author | Martin Mares <mj@ucw.cz> | 2001-01-17 09:32:28 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2001-01-17 09:32:28 +0100 |
commit | 0766e962e9a9539ceccd23090e5bb8e1301fce8c (patch) | |
tree | 18cb43f1392b50bfaffd3dd37fb2972927828613 /lib | |
parent | a2d01907c5b24bab78cc055fa23354597bd44a03 (diff) | |
download | bird-0766e962e9a9539ceccd23090e5bb8e1301fce8c.tar bird-0766e962e9a9539ceccd23090e5bb8e1301fce8c.zip |
Bug fix from Zheng Yuan <zyuan1@cig.mot.com>.
Diffstat (limited to 'lib')
-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 |