weird bughunting.
authorPekka Riikonen <priikone@silcnet.org>
Wed, 23 Oct 2002 15:17:25 +0000 (15:17 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Wed, 23 Oct 2002 15:17:25 +0000 (15:17 +0000)
lib/silcutil/silcdlist.h

index f6fcd71420065fd27cda8232880ff5b9654d46d6..0921a2b78e08ee1f3af53dc24050f57f4b07573e 100644 (file)
@@ -202,6 +202,9 @@ void silc_dlist_del(SilcDList list, void *context)
   while ((e = (SilcDListEntry)silc_list_get(list->list)) != SILC_LIST_END) {
     if (e->context == context) {
       silc_list_del(list->list, e);
+#ifdef SILC_DEBUG
+      memset(e, 'F', sizeof(*e));
+#endif
       silc_free(e);
       break;
     }