summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2020-11-18 05:46:55 +0900
committerMartin Schanzenbach <schanzen@gnunet.org>2020-11-18 05:46:55 +0900
commit52968789d280ee066e4527d6b191691625bd993a (patch)
treecf72db2f97e3dfcf859321cccb0f37c547008223 /src
parent91e8c2ff26ab0f65bbfec3de0b4acbaa95e52a47 (diff)
- do not cleanup client twice
Diffstat (limited to 'src')
-rw-r--r--src/reclaim/gnunet-service-reclaim.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/reclaim/gnunet-service-reclaim.c b/src/reclaim/gnunet-service-reclaim.c
index 0774fecea..5614f05db 100644
--- a/src/reclaim/gnunet-service-reclaim.c
+++ b/src/reclaim/gnunet-service-reclaim.c
@@ -602,17 +602,8 @@ cleanup_client (struct IdpClient *idp)
static void
cleanup ()
{
- struct IdpClient *cl;
-
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Cleaning up\n");
- while (NULL != (cl = client_list_head))
- {
- GNUNET_CONTAINER_DLL_remove (client_list_head,
- client_list_tail,
- cl);
- cleanup_client (cl);
- }
RECLAIM_TICKETS_deinit ();
if (NULL != timeout_task)
GNUNET_SCHEDULER_cancel (timeout_task);