summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;