From 52968789d280ee066e4527d6b191691625bd993a Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Wed, 18 Nov 2020 05:46:55 +0900 Subject: - do not cleanup client twice --- src/reclaim/gnunet-service-reclaim.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/reclaim') 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); -- cgit v1.2.3