mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-09 12:48:43 +00:00
Bug fix from Zheng Yuan <zyuan1@cig.mot.com>.
This commit is contained in:
parent
a2d01907c5
commit
0766e962e9
@ -107,7 +107,7 @@ lp_alloc(linpool *m, unsigned size)
|
|||||||
c = xmalloc(sizeof(struct lp_chunk) + size);
|
c = xmalloc(sizeof(struct lp_chunk) + size);
|
||||||
m->total_large += size;
|
m->total_large += size;
|
||||||
c->next = m->first_large;
|
c->next = m->first_large;
|
||||||
m->first_large = c->next;
|
m->first_large = c;
|
||||||
c->size = size;
|
c->size = size;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user