]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Oops, the poison was too deadly...
authorMartin Mares <mj@ucw.cz>
Tue, 16 May 2000 13:53:44 +0000 (13:53 +0000)
committerMartin Mares <mj@ucw.cz>
Tue, 16 May 2000 13:53:44 +0000 (13:53 +0000)
lib/slab.c

index 6c56044f1fd67acdcdd6eab53e5b4536892b02d7..3c81e9fc0a0a2b1b2065d854351054a8bdc91758 100644 (file)
@@ -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;