]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Bug fix from Zheng Yuan <zyuan1@cig.mot.com>.
authorMartin Mares <mj@ucw.cz>
Wed, 17 Jan 2001 08:32:28 +0000 (08:32 +0000)
committerMartin Mares <mj@ucw.cz>
Wed, 17 Jan 2001 08:32:28 +0000 (08:32 +0000)
lib/mempool.c

index a27f2f4442778e11d93f4173c00c38c7ba584d43..ba95323cc0903170e4b0bf331e7b1f13bb0efde2 100644 (file)
@@ -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