summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-16 13:53:44 +0000
committerMartin Mares <mj@ucw.cz>2000-05-16 13:53:44 +0000
commite2f4f275646d21de363c32ff3c8fb4f492f07c04 (patch)
tree317c67284a0653d0aad6cad82d3a38d552004954 /lib
parentb8e60d3562277762ec372424482b22c024e657d6 (diff)
Oops, the poison was too deadly...
Diffstat (limited to 'lib')
-rw-r--r--lib/slab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/slab.c b/lib/slab.c
index 6c56044f..3c81e9fc 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;