diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-18 17:11:26 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-18 17:11:26 +0000 |
commit | 5b929c0be02d48b7a729ec889c0b15177856768f (patch) | |
tree | 5b53c41f6471641878d0df9f1527d9b651f9d3f8 /src/gns/gnunet-service-gns.c | |
parent | c281df4e7e0e435fac3bf681eb3ff734c71637bf (diff) | |
download | gnunet-5b929c0be02d48b7a729ec889c0b15177856768f.tar.gz gnunet-5b929c0be02d48b7a729ec889c0b15177856768f.zip |
-cleaner shutdown
Diffstat (limited to 'src/gns/gnunet-service-gns.c')
-rw-r--r-- | src/gns/gnunet-service-gns.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gns/gnunet-service-gns.c b/src/gns/gnunet-service-gns.c index b7eb1f809..092bba705 100644 --- a/src/gns/gnunet-service-gns.c +++ b/src/gns/gnunet-service-gns.c | |||
@@ -207,6 +207,7 @@ shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
207 | GNUNET_SERVER_notification_context_destroy (nc); | 207 | GNUNET_SERVER_notification_context_destroy (nc); |
208 | while (NULL != (clh = clh_head)) | 208 | while (NULL != (clh = clh_head)) |
209 | { | 209 | { |
210 | GNUNET_SERVER_client_set_user_context (clh->client, NULL); | ||
210 | GNS_resolver_lookup_cancel (clh->lookup); | 211 | GNS_resolver_lookup_cancel (clh->lookup); |
211 | GNUNET_CONTAINER_DLL_remove (clh_head, clh_tail, clh); | 212 | GNUNET_CONTAINER_DLL_remove (clh_head, clh_tail, clh); |
212 | GNUNET_free (clh); | 213 | GNUNET_free (clh); |