projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f79408
)
weird bughunting.
author
Pekka Riikonen
<priikone@silcnet.org>
Wed, 23 Oct 2002 15:17:25 +0000
(15:17 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Wed, 23 Oct 2002 15:17:25 +0000
(15:17 +0000)
lib/silcutil/silcdlist.h
patch
|
blob
|
history
diff --git
a/lib/silcutil/silcdlist.h
b/lib/silcutil/silcdlist.h
index f6fcd71420065fd27cda8232880ff5b9654d46d6..0921a2b78e08ee1f3af53dc24050f57f4b07573e 100644
(file)
--- a/
lib/silcutil/silcdlist.h
+++ b/
lib/silcutil/silcdlist.h
@@
-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;
}