do remove
authorChristian Grothoff <christian@grothoff.org>
Tue, 15 Mar 2011 10:35:06 +0000 (10:35 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 15 Mar 2011 10:35:06 +0000 (10:35 +0000)
src/fs/gnunet-service-fs_lc.c

index d5b6f42976c4a71f98933a54d98ac5d786ca457a..5242316d7745ade149c31ac5e95659f4702531de 100644 (file)
@@ -483,6 +483,9 @@ GSF_client_disconnect_handler_ (void *cls,
       pos->th = NULL;
     }
   GSF_handle_local_client_disconnect_ (pos);
+  GNUNET_CONTAINER_DLL_remove (client_head,
+                              client_tail,
+                              pos);
   GNUNET_free (pos);
 }