summaryrefslogtreecommitdiff
path: root/lib/slab.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/slab.c')
-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;