From: Christian Grothoff Date: Wed, 17 Feb 2010 14:00:00 +0000 (+0000) Subject: cleanup X-Git-Tag: initial-import-from-subversion-38251~22692 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=61fd53d0421abfb919f11c23cd8f8f708b0dacbb;p=oweals%2Fgnunet.git cleanup --- diff --git a/src/util/server_nc.c b/src/util/server_nc.c index 05a4913a8..61775c6a1 100644 --- a/src/util/server_nc.c +++ b/src/util/server_nc.c @@ -172,6 +172,11 @@ handle_client_disconnect (void *cls, GNUNET_free (pml); } GNUNET_SERVER_client_drop (client); + if (pos->th != NULL) + { + GNUNET_CONNECTION_notify_transmit_ready_cancel (pos->th); + pos->th = NULL; + } GNUNET_free (pos); }