another attempt at 1728
authorChristian Grothoff <christian@grothoff.org>
Thu, 7 Jul 2011 21:12:50 +0000 (21:12 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 7 Jul 2011 21:12:50 +0000 (21:12 +0000)
src/util/server_nc.c

index d423c4a516e3a0b623338bd3ce1756fff692515d..56d79c18eab8585b0a094cc04f4630243bb40ef6 100644 (file)
@@ -186,12 +186,12 @@ handle_client_disconnect (void *cls,
                                   pml);
       GNUNET_free (pml);
     }
-  GNUNET_SERVER_client_drop (client);
   if (pos->th != NULL)
     {
       GNUNET_CONNECTION_notify_transmit_ready_cancel (pos->th);
       pos->th = NULL;
     }
+  GNUNET_SERVER_client_drop (client);
   GNUNET_free (pos);
 }