mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
Oops, the poison was too deadly...
This commit is contained in:
parent
b8e60d3562
commit
e2f4f27564
@ -226,7 +226,7 @@ sl_free(slab *s, void *oo)
|
|||||||
struct sl_head *h = o->slab;
|
struct sl_head *h = o->slab;
|
||||||
|
|
||||||
#ifdef POISON
|
#ifdef POISON
|
||||||
memset(oo, 0xdb, s->obj_size);
|
memset(o, 0xdb, s->obj_size);
|
||||||
#endif
|
#endif
|
||||||
o->u.next = h->first_free;
|
o->u.next = h->first_free;
|
||||||
h->first_free = o;
|
h->first_free = o;
|
||||||
|
Loading…
Reference in New Issue
Block a user