From: Christian Grothoff Date: Mon, 19 Apr 2010 15:12:35 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~22093 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1530aae691e58bc944fdfd371e70483a702e7fa2;p=oweals%2Fgnunet.git fix --- diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c index 0aca503c1..7ebd43ab9 100644 --- a/src/topology/gnunet-daemon-topology.c +++ b/src/topology/gnunet-daemon-topology.c @@ -349,6 +349,9 @@ free_peer (void *cls, if (pos->hello_delay_task != GNUNET_SCHEDULER_NO_TASK) GNUNET_SCHEDULER_cancel (sched, pos->hello_delay_task); + if (pos->greylist_clean_task != GNUNET_SCHEDULER_NO_TASK) + GNUNET_SCHEDULER_cancel (sched, + pos->greylist_clean_task); GNUNET_free_non_null (pos->hello); if (pos->filter != NULL) GNUNET_CONTAINER_bloomfilter_free (pos->filter);