diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-02-17 14:00:00 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-02-17 14:00:00 +0000 |
commit | 61fd53d0421abfb919f11c23cd8f8f708b0dacbb (patch) | |
tree | a23749f0f336a8f6a8d3462277d6684cd21b25cb /src/util/server_nc.c | |
parent | 975dbd5711499558ea9621a3d568020499879390 (diff) | |
download | gnunet-61fd53d0421abfb919f11c23cd8f8f708b0dacbb.tar.gz gnunet-61fd53d0421abfb919f11c23cd8f8f708b0dacbb.zip |
cleanup
Diffstat (limited to 'src/util/server_nc.c')
-rw-r--r-- | src/util/server_nc.c | 5 |
1 files changed, 5 insertions, 0 deletions
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, | |||
172 | GNUNET_free (pml); | 172 | GNUNET_free (pml); |
173 | } | 173 | } |
174 | GNUNET_SERVER_client_drop (client); | 174 | GNUNET_SERVER_client_drop (client); |
175 | if (pos->th != NULL) | ||
176 | { | ||
177 | GNUNET_CONNECTION_notify_transmit_ready_cancel (pos->th); | ||
178 | pos->th = NULL; | ||
179 | } | ||
175 | GNUNET_free (pos); | 180 | GNUNET_free (pos); |
176 | } | 181 | } |
177 | 182 | ||