fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 19 Apr 2010 15:12:35 +0000 (15:12 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 19 Apr 2010 15:12:35 +0000 (15:12 +0000)
src/topology/gnunet-daemon-topology.c

index 0aca503c1a66148ccddd0bdccb8138aba1379686..7ebd43ab9c22f7cf4c585030509ee197c63318bc 100644 (file)
@@ -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);