summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2001-01-17 09:32:28 +0100
committerMartin Mares <mj@ucw.cz>2001-01-17 09:32:28 +0100
commit0766e962e9a9539ceccd23090e5bb8e1301fce8c (patch)
tree18cb43f1392b50bfaffd3dd37fb2972927828613
parenta2d01907c5b24bab78cc055fa23354597bd44a03 (diff)
downloadbird-0766e962e9a9539ceccd23090e5bb8e1301fce8c.tar
bird-0766e962e9a9539ceccd23090e5bb8e1301fce8c.zip
Bug fix from Zheng Yuan <zyuan1@cig.mot.com>.
-rw-r--r--lib/mempool.c2
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