From e2f4f275646d21de363c32ff3c8fb4f492f07c04 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 16 May 2000 13:53:44 +0000 Subject: [PATCH] Oops, the poison was too deadly... --- lib/slab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;