diff options
Diffstat (limited to 'src/util/server.c')
-rw-r--r-- | src/util/server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/server.c b/src/util/server.c index fc96db802..5a2eee28d 100644 --- a/src/util/server.c +++ b/src/util/server.c | |||
@@ -1221,6 +1221,8 @@ GNUNET_SERVER_client_disconnect (struct GNUNET_SERVER_Client *client) | |||
1221 | 1221 | ||
1222 | if (client->persist == GNUNET_YES) | 1222 | if (client->persist == GNUNET_YES) |
1223 | GNUNET_CONNECTION_persist_ (client->connection); | 1223 | GNUNET_CONNECTION_persist_ (client->connection); |
1224 | if (NULL != client->th.cth) | ||
1225 | GNUNET_SERVER_notify_transmit_ready_cancel (&client->th); | ||
1224 | GNUNET_CONNECTION_destroy (client->connection); | 1226 | GNUNET_CONNECTION_destroy (client->connection); |
1225 | 1227 | ||
1226 | if (client->server->mst_destroy != NULL) | 1228 | if (client->server->mst_destroy != NULL) |