aboutsummaryrefslogtreecommitdiff
path: root/src/namestore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-15 12:14:07 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-15 12:14:07 +0000
commitbafde9ae1a2331ae2f76881e853488ddb909ec50 (patch)
tree6a5fc0ac950d653a7d8152b35256095db13706ac /src/namestore
parent9720b683ce02228881061cdb3c1473dd084e22c9 (diff)
downloadgnunet-bafde9ae1a2331ae2f76881e853488ddb909ec50.tar.gz
gnunet-bafde9ae1a2331ae2f76881e853488ddb909ec50.zip
-clean client context on shutdown
Diffstat (limited to 'src/namestore')
-rw-r--r--src/namestore/gnunet-service-namestore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c
index 5038c64bb..194ceaa04 100644
--- a/src/namestore/gnunet-service-namestore.c
+++ b/src/namestore/gnunet-service-namestore.c
@@ -238,6 +238,7 @@ cleanup_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
238 GNUNET_free (no); 238 GNUNET_free (no);
239 } 239 }
240 GNUNET_CONTAINER_DLL_remove (client_head, client_tail, nc); 240 GNUNET_CONTAINER_DLL_remove (client_head, client_tail, nc);
241 GNUNET_SERVER_client_set_user_context (nc->client, NULL);
241 GNUNET_free (nc); 242 GNUNET_free (nc);
242 } 243 }
243 GNUNET_break (NULL == GNUNET_PLUGIN_unload (db_lib_name, GSN_database)); 244 GNUNET_break (NULL == GNUNET_PLUGIN_unload (db_lib_name, GSN_database));