summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-16 15:53:44 +0200
committerMartin Mares <mj@ucw.cz>2000-05-16 15:53:44 +0200
commite2f4f275646d21de363c32ff3c8fb4f492f07c04 (patch)
tree317c67284a0653d0aad6cad82d3a38d552004954
parentb8e60d3562277762ec372424482b22c024e657d6 (diff)
downloadbird-e2f4f275646d21de363c32ff3c8fb4f492f07c04.tar
bird-e2f4f275646d21de363c32ff3c8fb4f492f07c04.zip
Oops, the poison was too deadly...
-rw-r--r--lib/slab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/slab.c b/lib/slab.c
index 6c56044..3c81e9f 100644
--- a/lib/slab.c
+++ b/lib/slab.c
@@ -226,7 +226,7 @@ sl_free(slab *s, void *oo)
struct sl_head *h = o->slab;
#ifdef POISON
- memset(oo, 0xdb, s->obj_size);
+ memset(o, 0xdb, s->obj_size);
#endif
o->u.next = h->first_free;
h->first_free = o;