From: Martin Mares Date: Wed, 17 Jan 2001 08:32:28 +0000 (+0000) Subject: Bug fix from Zheng Yuan . X-Git-Tag: v1.2.0~476 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0766e962e9a9539ceccd23090e5bb8e1301fce8c;p=thirdparty%2Fbird.git Bug fix from Zheng Yuan . --- diff --git a/lib/mempool.c b/lib/mempool.c index a27f2f444..ba95323cc 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